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

Add notice that API is not accessible during initialization #4734

Closed
NoahMaizels opened this issue Jul 24, 2024 · 2 comments · Fixed by #4869
Closed

Add notice that API is not accessible during initialization #4734

NoahMaizels opened this issue Jul 24, 2024 · 2 comments · Fixed by #4869
Assignees
Labels
good first issue Good for newcomers

Comments

@NoahMaizels
Copy link
Contributor

Summary

Currently when a new node is initialized, while syncing batch data, the Bee API is not accessible. However, there is no message returned from the API stating that the node is syncing batch data, it simply appears that the API endpoint is not working properly. It would be good if a descriptive message is returned instead that states the node is currently syncing batch data, so that it's clear there is no malfunction. The message could be something like "Currently syncing batch data, API is not available while syncing. Try again in a few minutes."

Motivation

Make the user experience easier.

@nugaon
Copy link
Member

nugaon commented Sep 2, 2024

would be better to give back another response for requests than 404. it is more like a 503.

@NoahMaizels NoahMaizels changed the title Add notice while syncing batch data Add notice that API is not accessible during initialization Sep 20, 2024
@NoahMaizels
Copy link
Contributor Author

would be better to give back another response for requests than 404. it is more like a 503.

I think that whatever the response is, it needs to indicate whether the API is not available since the node is in the process of starting up, or whether it is not available due to some other reason / error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants