Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Periodic "Internal error: 500001"

Lasse Skindstad Ebert Dec 02, 2017 10:25PM UTC

I use OpenWeatherMap to fetch current weather information once per hour for multiple locations (by geolocation).

My query looks something like this:
GET /data/2.5/weather?lat=xx.xxxxx&lon=xx.xxxxx&units=metric&appid=xxxxxxxxxxx

I call this from two different apps with different API keys under the same OpenWeatherMap account (staging and production servers) at the same time every hour.

I make around 25 requests in a short time (around 3 seconds) every hour. Most of the time it fails on the 20th request, in which case I wait five minutes and retry that request and also executes the last 5 requests, which usually go though without fail.

I'm getting this response when it fails:

status 500, body: {"cod":"500","message":"Internal error: 500001"}

I have a free plan, and I do not exceed the 60 requests per minute limit.
I do exceed 1 request per second. Is that how rate limiting is measured? I have not received any notifications about having exceeded the limit.

Why do I get a 500 back?


Up 0 rated Down
Lasse Skindstad Ebert Dec 02, 2017 10:31PM UTC
As a bonus info: I now see there is a "Block log" in my account.
It has only been activated once in May this year. I get the 500 error almost once per hour.

Also: It is not the same location it fails for every time.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found