question

hardik-joshi6230 avatar image
hardik-joshi6230 asked ·

How to know API call errors

Hi,

On developer portal, when i am looking into the Analytics - API Calls its showing me below graph. so my concern is how can i know what errors occurs so i can check it ?


General Topic
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

igor-bebin avatar image
igor-bebin answered ·
Hi Hardik, 

Open the next 'End Points' tab to see details of API calls. 

Thanks,
5 comments
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Hi Robin,

i have check in "End Point" tab and found that my errors are with 400 status code in oauth/token, i am still thinking why its giving 400 errors in login as doing same call for login every time. so how come it is possible to have error in login ?

it would be great if u can help me.

Thanks,
Hardik Joshi
0 Likes 0 ·
any updates on it ?
0 Likes 0 ·
Hi Hardik,

Sorry for delay, I've searched for auth errors on your Sandbox account. All the http 400 errors are caused by { {OAU-213 Token not found}} reason, which indicates that refresh_token wasn't found on a Server. I'll check with Engineering Team whether it's a Client issue or some inconsistency on backend. Will keep you updated.

Thanks,
0 Likes 0 ·
Thanks Igor,

let me know once you check with your team.

Thanks,
Hardik Joshi
0 Likes 0 ·
Hardik, it seems that your application creates oauth sessions too frequently. We have a limit for active sessions per app+User (for your app it's 5). Once a limit is exceeded the oldest session is removed as well as corresponding token. 

Could you please double-check the logic of your app is valid? 

Thanks,
Igor 
0 Likes 0 ·
Anirban avatar image
Anirban answered ·

If the oauth and API cross the given call limit and call the oauth too frequently, these kind of error happens.

The access token generated by oauth API has a validity of around 1 hour. Do there is not need to call oauth too frequently to generate the token

1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.