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 Report: Streamline and Prevent Trimming of Error Message for Invalid Project ID #924

Open
2 tasks done
ItzNotABug opened this issue Mar 5, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@ItzNotABug
Copy link
Contributor

👟 Reproduction steps

  1. Go to your console
  2. Edit a wrong projectID in the url like - https://cloud.appwrite.io/console/project-xyz
  3. The 404 error message is like below and is trimmed to fit for a single line -
Screenshot 2024-03-05 at 12 39 50 PM

The full value of the error is -
Project with the requested ID could not be found. Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used.

This could be simply improved to use -

Screenshot 2024-03-05 at 12 45 11 PM

👍 Expected behavior

Show a normalised error without the mention of X-Appwrite-Project header as we aren't dealing directly with an API.

👎 Actual Behavior

Message is trimmed and not exactly correct.

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@ItzNotABug ItzNotABug added the bug Something isn't working label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant