Skip to content
Back

Invalid document structure: Missing required attribute "userInternalId"

  • 0
  • Self Hosted
  • General
panda_p
26 Oct, 2025, 12:45

After migrating from 1.6.1 to 1.7.4 I noticed this message in the logs: appwrite-worker-audits | 2025-10-26T11:15:24.062537020Z Error processing audit logs: Invalid document structure: Missing required attribute "userInternalId"

Can someone help me understanding that error?

TL;DR
Title: Missing "userInternalId" attribute error after migration Developers need to ensure they made backups and ran migration commands before upgrading. After migrating from 1.6.1 to 1.7.4, an error was encountered: "Invalid document structure: Missing required attribute 'userInternalId'."
D5
26 Oct, 2025, 15:54

Did you made backups before upgrading? And ran migration command?

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