karakanb / devo

A Chrome and Firefox extension that displays GitHub Trending, Hacker News, Product Hunt and Designer News on every new tab.
https://burakkarakan.com/devo/
MIT License
401 stars 46 forks source link

Product Hunt Broken #12

Closed hipstersmoothie closed 5 years ago

hipstersmoothie commented 5 years ago
screen shot 2018-10-07 at 10 54 07 pm screen shot 2018-10-07 at 10 54 25 pm
karakanb commented 5 years ago

Hey! I think there was something wrong with the Product Hunt API, as their mobile applications were also down because of the same error, Unexpected token < in JSON at position 0 at JSON.parse. The application service that provides Product Hunt data is basically a wrapper over the public PH API; so, my hands were tied there, and it seems to be resolved now.

karakanb commented 5 years ago

Oh, this seems to be my mistake. Even though I had seen the same error on their mobile application, the problem we have here is not the same, it seems like we have exceeded the rate limits, will investigate it.

{
    "error": "rate_limit_reached",
    "error_description": "Sorry. You have exceeded the API rate limit, please try again later.",
    "details": {
        "limit": 25,
        "remaining": 0,
        "reset_in": 156
    }
}
karakanb commented 5 years ago

I have contacted with the PH team to discuss the rate limit issue, but the API also seems to be down from time to time.

screen shot 2018-10-08 at 11 21 08
hipstersmoothie commented 5 years ago

I'll close this as it's not really an issues with you