Rank 3: Container
"message": "Collection with the requested ID could not be found.", "code": 404, "type": "collection_not_found", "version": "1"}```
I want to use this as server side API with appwrite keyVotes
0
Replies
15
Participants
Unknown
Messages
16
Rank 3: Container
"message": "Collection with the requested ID could not be found.", "code": 404, "type": "collection_not_found", "version": "1"}```
I want to use this as server side API with appwrite keywhat endpoint are you trying to request?
can you share the URL you're trying to request?
Rank 3: Container
/v1/databases/{databaseId}/collections/{collectionId}/documents this the url I tryng requrst
Here are the possible scenarios
1/ You are using incorrect IDs for the collection
2/ Your API Key is not being set correctly in postman
3/ Your API key is incorrect
Admin
Can you provide the exact full URL that is actually in the request?
Rank 3: Container
--header 'X-Appwrite-Project: {{appwriteProject}}' \--header 'X-Appwrite-Key: {{appwriteToken}}' \--header 'User-Agent: Apidog/1.0.0 (https://www.apidog.com)' \--header 'Content-Type: application/json'```Rank 3: Container
This the curl
is your project ID and token set in postman ?
Rank 3: Container
Yes, I set it in variable
Rank 3: Container
Note this no postmant but apidog
Rank 3: Container
Admin
Unrelated, but what version of Appwrite do you have? I think your Appwrite might be outdated
Admin
Would you be able to go to the collection in the Appwrite console and share the URL?
Rank 3: Container
Version 1.3.3
Admin
ya you should make sure to upgrade to 1.3.4 and run the migrate command