Grabbing API errors doesn't show users

Matt_Stone2
Level 9

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
Bill_Lundy3
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

Matt_Stone2
Level 9

Re: Grabbing API errors doesn't show users

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

Bill_Lundy3
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.

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.

Luke_Wotton
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.

Steven_Vanderb3
Marketo Employee

Re: Grabbing API errors doesn't show users

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

Kurt_Koller
Level 4

Re: Grabbing API errors doesn't show users

Retrieving error counts per user would be very helpful.