X-rate-limit info missing in POST Aynch Job request


#1

I am using POST Ads API endpoint to create Asynch Job requests for multiple accounts using advertiser specific oauth tokens. I always check for number of POST/GET requests remaining before making an API call. In this scenario, it sometimes doesnt fetch me “x-rate-limit” info and throws me an error.
Please see the header response below for the error -

Can someone please let me know why does this happen ?


#2

Can I get a response on this please ?


#3

@shyamsmallaya sometimes—rarely—the rate limiter service call is not successful so the values are not returned in the response headers. You could use a try when looking for those values rather than just failing.


#4

@juanshishido Thanks for the confirmation.