For the past two days, I have been facing this issue.
503: Instagram is rate limiting your requests
There are generally two types of query that causes this error. Though there is no discern-able consistency I can find.
GET https://api.instagram.com/v1/users/self/media/recent.json?access_token=<user token>: 503: Instagram is rate limiting your requests.
GET https://api.instagram.com/v1/users/self.json?access_token=<user token>: 503: Instagram is rate limiting your requests.
I have searched the documentation (https://www.instagram.com/developer/) but I was unable to find any references to 503 errors.
The other links I have been looking at is the following.
https://imranakbar.wordpress.com/2012/09/13/rate-limit-exceeded-instagram-error/
As I am using the instagram-ruby gem, it seems like the service is unavailable?
raise Instagram::ServiceUnavailable, error_message_500(response, "Instagram is rate limiting your requests.")
Refer to this link for more information on instagram-ruby gem https://github.com/facebookarchive/instagram-ruby-gem/blob/master/lib/faraday/raise_http_exception.rb
I would like to know
(1) if the service unavailable is due to me unknowingly hitting the rate limits and got throttled
or
(2) Instagram is doing some stuff to their servers, causing this error
NOTE: I have sent a report to Instagram on this issue.