CodingXeer01Original post
Rank 2: Process
I created a document which has X,Y attributes and now i deleted Y attribute and added new attribute Z, Now when i try to to update last created document where it was created when it has X,Y attribute but Y is no more there and Z with null value and when i try to update its value then gives me:
Invalid document structure: Unknown attribute: "Y"
when i look for the request in the console, There is Y attribute sending in the data even there is not Y attribute.
Summary
Developers encountering an issue where they are unable to update a document due to a "Unknown attribute: Y" error, even though they have previously deleted Y and added attribute Z. The console shows Y attribute being sent in the data despite it not existing. Solution: Verify the request payload being sent for any discrepancies between the actual document attributes and the data being submitted.