Too many requests

Hi,

We use the tomtom maps api in combination with React, and most of the times we do not receive any error. However sometimes it tries to request the map tiles (*.pbf) too often resulting in the error

statusCode: 429 message Too many requests as can be seen in the screenshot below.

My question is since this is happening only sometimes, could this be cause by some React quick rerendering or is this a known issue?

I’ve removed the screenshot - it contains your API key. In future remove/blur out it.

1 Like

Thx for removing the screenshot, but since the api request calls are out in the open and protected by domain whitlisting that should not matter? Or should we write a proxy to obscure the API key?

Lets just do not tempt bad guys to try to use your key.

1 Like