Skip to content

Conversation

@KamranTaslim
Copy link

Fix for Issue #1504: Display appropriate error messages for common errors

Changes Made

I've implemented user-friendly error messaging for common HTTP errors instead of showing the generic "oops" screen.

Implementation Details:

  • Added a new getUserFriendlyErrorMessage method in ErrorMessageUtil.js that provides specific messages for different error types
  • Enhanced the error handling in httpClient.js to use this method for both fetch and axios requests
  • Updated ErrorFallback.js to display the user-friendly error title and message

Specific Error Handling Added:

  • 403 errors (Access Denied)
  • 404 errors (Not Found)
  • 500 errors (Server Error)
  • 503 errors (Server Unavailable)
  • Network connectivity issues

Testing:

I was able to test the implementation and confirm it correctly displays user-friendly error messages as shown in the attached screenshot.

This improves the user experience by providing clear information about what went wrong and suggesting possible actions instead of showing a generic error screen.

…rrors like server unavailable and 403 access denied
@aksh-sush
Copy link

bro did ur changes get merged?

@KamranTaslim
Copy link
Author

KamranTaslim commented Jun 8, 2025 via email

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

Successfully merging this pull request may close these issues.

2 participants