Skip to content
Back

NEW ERROR Invalid document structure: Attribute "pb.kmsgxPkgInfo.id_info" must be an array (400)

  • 0
  • Databases
  • Functions
  • Cloud
Ankit Maniya
10 Apr, 2026, 22:02

Error: AppwriteException: document_invalid_structure, Invalid document structure: Attribute "pb.kmsgxPkgInfo.id_info" must be an array (400) I’m encountering this error using dart appwrite cloud function when attempting to update only one field at a time. For example, if I update pb.e_DSS.PRODUCT_NAME, then try to update pb.e_DSS.PRODUCT_WARRANTY_DATE, it works. However, if I then try to update pb.e_DSS.FIRMWARE_VERSION, the error reappears. I’m not sure what’s triggering this issue. It randomly appears.

TL;DR
Developers are experiencing an 'Invalid document structure' error in Dart Appwrite cloud function when updating fields individually. The error specifically pertains to the attribute "pb.kmsgxPkgInfo.id_info" needing to be an array. This error occurs randomly and resurfaces when updating certain fields. Unfortunately, there isn't a specific solution provided in the thread.
Ankit Maniya
10 Apr, 2026, 22:05

Environment:

TypeScript
dart_appwrite: 13.0.0```
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