Question

How to know API call errors

  • 16 May 2018
  • 3 replies
  • 2711 views

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 ?



3 replies

Hi Hardik, 

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

Thanks,

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

Hi, I am facing similar issue when i make API call to timeline EndPoint using this

resp = platform.post('/analytics/calls/v1/accounts/~/timeline/fetch', options)

I received HTTP 400 error. I am using correct credentials for production env. Please check screenshots of API calls with errors

Screenshot (118).pngScreenshot (119).png

I was looking for solution in this thread. I couldnt get following points

what is call to oauth ?

How do i know if my app is making oauth calls to frequently?

How to we regenerate token ?

@igor-bebin , @Anirban Can you please check,if there is some issue at the backend of our app?


Reply