🐛 Bug Report: Collection with the requested ID could not be found.
- Dominant language
- TypeScript
- Stars
- 57.4k
- Forks
- 5.7k
- Avg merge
- 14h 50m
- Merged PRs (30d)
- 276
Description
### 👟 Reproduction steps
Running `appwrite databases delete-attribute --database-id 681e35e60004e5ab56ee --collection-id 68207f22001da5b526cc --key registrantContact`
### 👍 Expected behavior
I have created the relationship between two lists to show the relation in both the lists. When I have the list, dependant forighn keys were not delited in other list. Because of which I could not add/modify anything in the list. We observed this issue earlier. We had to delete the whole list in order to get away. This is not acceptable as this calls for lot of data handling in production.
### 👎 Actual Behavior
CLI Error:
```
Error: Collection with the requested ID could not be found.
at Client.call (/Users/balla/.npm-global/lib/node_modules/appwrite-cli/lib/client.js:214:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async databasesDeleteAttribute (/Users/balla/.npm-global/lib/node_modules/appwrite-cli/lib/commands/databases.js:1518:16)
```
### 🎲 Appwrite version
Appwrite Cloud
### 💻 Operating system
Linux
### 🧱 Your Environment
CLI version: 6.2.3
Operation System: Darwin
Appwrite version: 1.6.2
Is Cloud: Yes
### 👀 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
Assessment
This issue has not been assessed yet.