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
)
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
Ah, that stinks. Were you able to figure out a workaround?
Nope. Doesn't seem like it's possible to tie a specific error to a specific user via the API currently.
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.
Are they able to give you user info?
Seems daft that you can't get it out the API.
Yes, Support can give you which API users are producing which errors.
Retrieving error counts per user would be very helpful.