Back

Please help! I deleted an attribute hours ago and it's still being detected in Appwrite!

  • 0
  • Web
  • Cloud
propconnect
29 Apr, 2024, 03:27

Project id: 660467ed88cc9823a538.

I created an attribute in Appwrite called "followed" and had to delete it because it was causing issues. That was hours ago and somehow its still lingering somewhere according to browser console, can you please help? I've also removed the followed from my code. Thank you!

browser-ponyfill.js:518 PATCH https://cloud.appwrite.io/v1/databases/660467e…/collections/6604684…/documents/661c3cb… 400 (Bad Request) api.ts:566 AppwriteException: Invalid document structure: Unknown attribute: "followed" at Client.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=78bda405:850:17) at Generator.next (<anonymous>) at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=78bda405:488:24)

TL;DR
Developers deleted an attribute "followed" in Appwrite, but it's still showing in the browser console causing a Bad Request error. The error is due to the deleted attribute lingering in the database. To resolve this, developers need to check all places where this attribute might be referenced and remove it completely from the codebase. This includes checking API calls, DB queries, and frontend code.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more