Skip to content
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

Uploading image doesn't work #375

Open
nballen-tx opened this issue Jul 17, 2022 · 2 comments
Open

Uploading image doesn't work #375

nballen-tx opened this issue Jul 17, 2022 · 2 comments

Comments

@nballen-tx
Copy link

This worked before but since maybe 2 months ago, it started showing this error message.

Notion APi HTTPError: 403 Client Error: Forbidden for url: https://www.notion.so/api/v3/getUploadFileUrl

Does anyone know how to fix it?

The official API doesn't suppor the image/file upload.

Thanks,

@tyePhDCandy
Copy link

it seems impossible at the moment since the notion official api banned this?

@n0rdstar-git
Copy link

You can upload your pictures to something like S3, acquire the link and hand it over to notion page, which will use it to load the image. There is no official API way to do that as of now I think

akkuman added a commit to akkuman/notion-py that referenced this issue Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants