MapTiles

ÜCRETSİZ PREMIUM
Verified
Taraf Support@MapTilesApi | Güncelleyen 3 months ago | Mapping
Popülerlik

9.9 / 10

Gecikme

174ms

Hizmet Düzeyi

100%

Tüm Tartışmalara Dön

429 response status code

avatar
adamgez
4 months ago

Hi, I’m using MapTiles with openlayers and getting 429 response for all requests. Can you help please?

avatar
MapTilesApi commented 4 months ago

To check if you are subscribed you can log in and visit this page: https://rapidapi.com/MapTilesApi/api/maptiles/pricing (it should say: “Currently subscribed” under the plan you subscribed to and the buttons for all other plans should be labeled “Change plan”). If you are not subscribed, the RapidAPI proxy would send a 401 response on the first request and 429 responses on subsequent requests (translated: don’t send so many requests against a forbidden endpoint for you), so you would have to subscribe first and grab your API key.

avatar
MapTilesApi commented 4 months ago

Please check if the first request returns a 401 error code, e.g. by firing just a single request against https://maptiles.p.rapidapi.com/en/ma/v1/1/1/1.png?rapidapi-key=YOUR-X-RAPIDAPI-KEY (replace YOUR-X-RAPIDAPI-KEY with your key). If you see a 401 error this would mean that you are either not subscribed to the MapTiles API (and we don’t see you with that username in the list of subscribed users here) or that you are using a wrong key.

If you are subscribed (maybe under a different username) and using the right key, you may see a 429 response if either a) you send more requests per second than allowed by your plans rate-limiting (ultimate solution recommended for businesses: the Mega plan has no rate-limiting. Otherwise you may check switching to a plan with a higher rate-limit per second, e.g. from Basic to Pro or from Pro to Ultra) or b) you are subscribed to the Basic plan and you have used up all your available requests for a 24h time-frame (solution: switch to a Pro plan).

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun
Değerlendirme: 4.7 - Oy Sayısı: 3