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
Description
When making too many requests to a search endpoint (such as Origo Server after origo-map/origo-server@580f9b8) the client can recieve a 429 - Too Many Requests - response. The search control does not give the user any useful feedback in these cases, failing silently instead.
To Reproduce
Steps to reproduce the behavior:
Make more than 100 requests to an Origo Server endpoint within the 15 minute window using the Search control.
See the client give no reaction at all, while logging the 429 error and VM2401:1 Uncaught (in promise) SyntaxError: Unexpected token 'T', "Too many r"... is not valid JSON to the console.
Expected behavior
A discrete visual feedback about the cause of the error, perhaps even with info about "try again in X seconds".
The text was updated successfully, but these errors were encountered:
If this is something that could/should be solved by a toaster message, would it make sense to make the toaster function in infowindow_exporthandler.js into a more generalized utility function and reuse that?
Description
When making too many requests to a search endpoint (such as Origo Server after origo-map/origo-server@580f9b8) the client can recieve a 429 - Too Many Requests - response. The search control does not give the user any useful feedback in these cases, failing silently instead.
To Reproduce
Steps to reproduce the behavior:
VM2401:1 Uncaught (in promise) SyntaxError: Unexpected token 'T', "Too many r"... is not valid JSON
to the console.Expected behavior
A discrete visual feedback about the cause of the error, perhaps even with info about "try again in X seconds".
The text was updated successfully, but these errors were encountered: