How to know API call errors

  • 1
  • Question
  • Updated 1 week ago
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 ?

Photo of Hardik Joshi

Hardik Joshi

  • 620 Points 500 badge 2x thumb

Posted 1 week ago

  • 1
Photo of Igor Bebin

Igor Bebin, Official Rep

  • 540 Points 500 badge 2x thumb
Hi Hardik, 

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

Thanks,
Photo of Hardik Joshi

Hardik Joshi

  • 620 Points 500 badge 2x thumb
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
Photo of Hardik Joshi

Hardik Joshi

  • 620 Points 500 badge 2x thumb
any updates on it ?
Photo of Igor Bebin

Igor Bebin, Official Rep

  • 540 Points 500 badge 2x thumb
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,
Photo of Hardik Joshi

Hardik Joshi

  • 620 Points 500 badge 2x thumb
Thanks Igor,

let me know once you check with your team.

Thanks,
Hardik Joshi
Photo of Igor Bebin

Igor Bebin, Official Rep

  • 540 Points 500 badge 2x thumb
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