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

[bug]: Integrate Error Handling in API Requests #159

Open
4 of 5 tasks
harmeetsingh11 opened this issue Jan 19, 2025 · 6 comments
Open
4 of 5 tasks

[bug]: Integrate Error Handling in API Requests #159

harmeetsingh11 opened this issue Jan 19, 2025 · 6 comments

Comments

@harmeetsingh11
Copy link
Owner

harmeetsingh11 commented Jan 19, 2025

Description

Currently, the API requests do not have proper error handling. This can lead to a poor user experience, especially when something goes wrong with the API or when the user encounters issues such as incorrect login credentials. We need to implement robust error handling to provide meaningful feedback to users.

Steps to Reproduce:

Review the API request logic in both the frontend and backend.
Implement error handling for all API calls to catch errors and display appropriate user-friendly messages.
For instance, display a "Login failed" message for incorrect login attempts or a "Server error" message if the backend is unavailable.
Ensure that error messages are displayed in a user-friendly format, and users are guided on what to do next (e.g., "Try again later" or "Please check your credentials").
Test various error scenarios (e.g., incorrect credentials, network failure, server issues).

Expected Outcome:

Clear, user-friendly error messages for all API requests.
Users should receive proper feedback when something goes wrong (e.g., incorrect credentials or server issues).

Implementation Details (optional)

No response

Screenshots

No response

Checklist

Copy link

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

@harmeetsingh11 harmeetsingh11 added bug Something isn't working and removed feature labels Jan 19, 2025
@harmeetsingh11 harmeetsingh11 changed the title [Feature]: Integrate Error Handling in API Requests [bug]: Integrate Error Handling in API Requests Jan 19, 2025
@auraticabhi
Copy link

Hey can you assign this to me?

@harmeetsingh11
Copy link
Owner Author

@auraticabhi okay, under which open-source program?

@auraticabhi
Copy link

@harmeetsingh11 dwoc

@harmeetsingh11
Copy link
Owner Author

@auraticabhi the issue has been assigned to you:)

@ShyamAgarwal-123
Copy link

@harmeetsingh11 ,i am a dwoc contributer and also raised a PR #169 I would like to work on this issue under dwoc program

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants