appwrite / appwrite/console

🐛 Bug Report: Don't Show API Responses for Errors

Open
#974 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Svelte
Stars
393
Forks
260
Avg merge
6h 53m
Merged PRs (30d)
24

Description

### 👟 Reproduction steps

1. Delete an organization [assume org. id as `xyz`]
2. Go to the Console via direct url i.e. https://cloud.appwrite.io/console/project-xyz/
OR simply use the above link with a wrong project id
4. Error is displayed as below -

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?

- [X] I checked and didn't find similar issue

### 🏢 Have you read the Code of Conduct?

- [X] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.