Grabbing API errors doesn't show users

Highlighted
Level 6

Grabbing API errors doesn't show users

I'm utilizing the Usage endpoint to grab daily API errors, but I'm not getting the users generating the errors.

Below is the output I'm receiving. It's successful, just lacks the userId that the example shows to point me at who is causing the issue. I also tried the last7days and usage endpoints, but neither brought in the data. Any ideas?

Array

(

  [requestId] => e645#15c22cc2cdd

  [result] => Array

  (

  [0] => Array

  (

  [date] => 2017-05-19

  [total] => 1314

  [errors] => Array

  (

  [0] => Array

  (

  [errorCode] => 606

  [count] => 1314

  )

  )

  )

  )

  [success] => 1

)

Tags (1)
7 REPLIES 7
Highlighted
Level 2

Re: Grabbing API errors doesn't show users

Matt,

We've had the same experience and from my understanding the errors endpoints do not return users, only the total count of each error.

Looking at the documentation examples for the Usage and Error endpoints, they all have the same example and looks like one might have been copied and pasted over the other in error. At least that's what it looks like.

-Bill

Highlighted
Level 6

Re: Grabbing API errors doesn't show users

Ah, that stinks. Were you able to figure out a workaround?

Highlighted
Level 2

Re: Grabbing API errors doesn't show users

Nope. Doesn't seem like it's possible to tie a specific error to a specific user via the API currently.

Highlighted
Anonymous
Not applicable

Re: Grabbing API errors doesn't show users

The only way that I have been able to get a few more details related to API errors is to file a ticket and ask for the error logs. It would be great if we were able to see more details related to errors or even the overall system.

Highlighted
Level 4

Re: Grabbing API errors doesn't show users

Are they able to give you user info?

Seems daft that you can't get it out the API.

Highlighted
Marketo Employee

Re: Grabbing API errors doesn't show users

Yes, Support can give you which API users are producing which errors.

Highlighted
Level 4

Re: Grabbing API errors doesn't show users

Retrieving error counts per user would be very helpful.