You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are testing out how to handle errors for "rate limited exceeded" and I am having troubles getting access to the status code that I can clearly see in chromes dev tools:
I can see the status "429" here but there is no response provided at all when trying to access it via javascript. The error response is completely undefined.
I'm confused why I can see it in dev tools, but I can not access it from the client app
The text was updated successfully, but these errors were encountered:
It seems like a problem with the client-side javascript code. Keep in mind none of us on the ESP team are JS developers, but we can try to help. Stack overflow or the JS community would be your best resource.
I suspect your have a issue with callbacks/promises. Are you trying to read the response code before the response completes?
Perhaps you can post a short snippet of the code that makes the request and waits for the response? I suggest also posting that on stack overflow.
I posted this on stack overflow as well, but posting here in case it is actually an issue related to cloud endpoints.
https://stackoverflow.com/questions/65041837/get-response-headers-from-failed-cors-google-endpoint-response
We are testing out how to handle errors for "rate limited exceeded" and I am having troubles getting access to the status code that I can clearly see in chromes dev tools:
I can see the status "429" here but there is no response provided at all when trying to access it via javascript. The error response is completely undefined.
I'm confused why I can see it in dev tools, but I can not access it from the client app
The text was updated successfully, but these errors were encountered: