markitondemand / DEPRECATED-DataApis

Markit On Demand - Market Data APIs
http://dev.markitondemand.com
MIT License
178 stars 68 forks source link

501 Not Implemented #36

Closed sok213 closed 8 years ago

sok213 commented 8 years ago

I am using an AJAX call for the Interactive Chart API along with the Lookup API to handles form submissions from the client. Sometimes, at random, the API will return the expected results, but most of the time, it will return a status error 501 Not Implemented. The issue occurs within my localhost environment, so I presume that this is not an issue dealing with HTTP and HTTPS compatibility, however, I am having those issues with that over my app when it is running on Heroku. Any advice or possible solution would be much appreciated. If you are experiencing similar issues, please leave a comment below to see if we can figure something out together.

hex007 commented 8 years ago

@sok213 Even I faced 501s at random. The reason is you exceeded allowed requests per second. Try printing the output received from 501 responses and check of the reason is the same

sok213 commented 8 years ago

@hex007 Thanks for the tip. I didn't realize that could be an issue.

brianbaker commented 8 years ago

Right now its limited to 10 requests over a sliding window of 60 seconds.