ijjk / notion-blog

A Next.js site using new SSG support with a Notion backed blog
https://notion-blog.vercel.app
MIT License
3.7k stars 536 forks source link

HTTP429 ERROR #63

Open koxtuichi opened 3 years ago

koxtuichi commented 3 years ago

Recently, when I view the list of blogs 10 times in a row (using the incognito window), I get HTTP429 error in Notion. And you will not be able to retrieve the articles. Is this a limitation on the Notion side?

la3rence commented 3 years ago

Yes. I've noticed it too. It seems like the Notion API now been protected by this rate limit. The segment of its response:

{
    "errorId": "84f42356-xxxx-4aa5-a20f-edcad0b601cc",
    "name": "UserRateLimitResponse",
    "message": "Please try again later.",
    "clientData": {
        "type": "rate_limited"
    }
}
koxtuichi commented 3 years ago

@Lonor thank you comment. And I also get same error message. Did you find any workarounds?

la3rence commented 3 years ago

Sorry, I don't know how to deal with this because the API was restricted by the Notion team. Hope the official API (#53) comes out earlier.

koxtuichi commented 3 years ago

Yes, I hope so too. Thank you for telling me.