Skip to main content
Matt_Stone2
Level 9
May 19, 2017
Question

Grabbing API errors doesn't show users

  • May 19, 2017
  • 2 replies
  • 3333 views

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

)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Bill_Lundy3
Level 2
May 19, 2017

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
May 20, 2017

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

Bill_Lundy3
Level 2
May 20, 2017

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

Kurt_Koller
Level 4
June 14, 2017

Retrieving error counts per user would be very helpful.