appwrite / appwrite

Your backend, minus the hassle.
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
45.42k stars 4.02k forks source link

🐛 Bug Report: creating documents with SDK does not work when collection is created in cloud console #8841

Closed xpediteur closed 3 weeks ago

xpediteur commented 3 weeks ago

👟 Reproduction steps

In every old collection (migration from my self hosted instance) I create a document with SDK, it works fine. With every new collection I create in the cloud console, it does not work! Can you pls verify this on your site? THX

👍 Expected behavior

document has to be written in the collection

👎 Actual Behavior

the document is not written in collection

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

MacOS

🧱 Your Environment

"appwrite": "^16.0.2", WEB SDK

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

🏢 Have you read the Code of Conduct?

xpediteur commented 3 weeks ago

console error message: TypeError: Failed to fetch at Client.eval (webpack-internal:///./node_modules/appwrite/dist/esm/sdk.js:643:36) at Generator.next () at eval (webpack-internal:///./node_modules/appwrite/dist/esm/sdk.js:47:71) at new Promise () at __awaiter (webpack-internal:///./node_modules/appwrite/dist/esm/sdk.js:43:12) at Client.call (webpack-internal:///./node_modules/appwrite/dist/esm/sdk.js:640:16) at Databases.eval (webpack-internal:///./node_modules/appwrite/dist/esm/sdk.js:2400:38) at Generator.next () at eval (webpack-internal:///./node_modules/appwrite/dist/esm/sdk.js:47:71) at new Promise ()

Image

Image

stnguyen90 commented 3 weeks ago

As discussed over Discord, something was wrong with the modal in your app.