Back

Appwrite detecting a deleted attribute (followed)

  • 0
  • Web
  • Cloud
propconnect
29 Apr, 2024, 16:41

Project id: 66045eb4ad78658d4b8e

I created an attribute in Appwrite called "followed" and had to delete it because it was causing issues. That was yesterday 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!

and here is my "Users" collection where I used to have the "followed" attribute (6604684bbfd6cff7d4e5)

Just for context, this is happening when i update my profile on my platform. My update fails when i try to save it

browser-ponyfill.js:518 PATCH https://cloud.appwrite.io/v1/databases/660467e…/collections/6604684…/documents/661c3cb… 400 (Bad Request) api.ts:565 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 facing issues with a deleted attribute "followed" in Appwrite, despite removing it from the code and browser console. The error persists when updating the profile. The issue traces back to the "followed" attribute in the "Users" collection. Solution: Make sure to remove any reference to the "followed" attribute from the Users collection in Appwrite.
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