-
-
Notifications
You must be signed in to change notification settings - Fork 616
NotionAPI getSignedfileUrls error HTTPError: Response code 400 (Bad Request) #331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Bumping up the package version to |
Same thing for us. The build process is broken "notion-client": "^4.9.9", |
I think i found the problem, i am gonna open a PR soon Basically i found that if you pass links that cannot be signed by Notion now it will give an error (the error happens only when you have other non video embeds in the page) @AakashMallik Can you give me the Notion page url where you have the problem? |
@remorses I belive this is one page which was throwing this error: The error itself is not really breaking anything in the rendered page, but the dev process becomes extremely slow since the page build waits for the error for some reason, in which case for a page that used to take 2-5sec to SSR now takes 2mins in dev. |
Can confirm that @remorses's PR seems to solve the issue for my project. No idea if there may be additional edge cases tho. |
Thanks a lot, this solved the issue. |
Description
All the static builds were fine up until 22nd July 2022, but since yesterday, I have started getting these errors in my build, and oddly, my development builds have become super slow.
This is the log I get while building both static production and SSR development builds.
Notion Test Page ID
As far as I can tell, this is not a page-specific issue since earlier, the same pages have been working fine for me.
Also, I have done a shallow check and it seems the pages are rendered all right, but I am not sure yet.
Version
"notion-client": "5.0.0",
"notion-types": "5.0.0",
"notion-utils": "5.0.0",
"react-notion-x": "5.0.0"
Has something changed from Notion again?? 😢
The text was updated successfully, but these errors were encountered: