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

Gracefully handle HTTP 502 errors #287

Open
karlhorky opened this issue Aug 20, 2024 · 2 comments
Open

Gracefully handle HTTP 502 errors #287

karlhorky opened this issue Aug 20, 2024 · 2 comments
Assignees

Comments

@karlhorky
Copy link
Member

Sometimes Notion responds with a HTTP 502 error (Bad gateway), which will throw an error and cause the export to fail completely:

AxiosError: Request failed with status code 502

We could consider catching these and retrying.

@karlhorky karlhorky self-assigned this Aug 20, 2024
@xming521
Copy link

I will get an error here:
Request failed with status code 504

@karlhorky
Copy link
Member Author

karlhorky commented Feb 22, 2025

@xming521 yes, I'm seeing these since a few days now too!

Since this is not an HTTP 502 error, this is offtopic for this issue though - could you open a new issue for this (include sanitized logs if possible)?

Edit: looks like another user opened an issue over here:

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

2 participants