Open ItzNotABug opened 3 months ago
@ItzNotABug agreed, the error message to be displayed should be different from the API error response. Can I try this?
Hey @naman1608, I think one of a core member needs to bump in here since there are multiple cases where this issue can happen around the console.
A direct/hardcoded message based on the returned error won't be enough.
π Reproduction steps
xyz
]Invalid Argument
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.
Console should instead show a simple - Project does not exist or was recently deleted or you might have been removed from the organization.
π Expected behavior
Show a more simpler, understandable error message.
π Actual Behavior
API response is shown directly as Error which can be confusing to some users.
π² 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?
π’ Have you read the Code of Conduct?