I created an attribute named userAgent in the leads collection, but now an error is being displayed. When I try to update a document, it doesn't let me successfully complete the update, even though I am not passing the userAgent field in the update operation. Could you please remove the duplicate userAgent field from the collection?
{ code: 400, type: 'document_invalid_structure', response: { message: 'Invalid document structure: Unknown attribute: "userAgent"', code: 400, type: 'document_invalid_structure', version: '1.6.1' } }
You can't remove it in the appwrite console?
If you want to make it optional, you can remove the check of the "required" checkbox you can find in the appwrite console when creating the attribute. If it's an existing attribute, you can click the 3 dots (...), edit and then remove the check from the required checkbox
I can no longer update documents; an error occurs when I try.
{ code: 400, type: 'document_invalid_structure', response: { message: 'Invalid document structure: Unknown attribute: "userAgent"', code: 400, type: 'document_invalid_structure', version: '1.6.1' } }
Recommended threads
- [Regression] Appwrite 25.1.0 returns Inv...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...