MishoOriginal post
Rank 2: Process
I am updating user, more correctly i am update user profile image of user and i get this error:
JavaScript
code: 400, type: 'relationship_value_invalid', response: { message: 'Invalid relationship value. Must be either a document ID or a document, array given.', code: 400, type: 'relationship_value_invalid', version: '1.5.7' }}Summary
Developers are encountering an error when updating a user profile image due to an "Invalid relationship value" message. The issue lies in passing an array instead of a document ID. To resolve this, ensure the correct data type is provided as the relationship value when updating the user profile image.