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'."