You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Questions: 1. Why does payload.create not set width, height, and sizes?
The sizes object is null in payload.create, but it gets populated after payload.update.
2. Error: The following field is invalid: filename (Value must be unique)
I’m getting this error when running the script:
Erroruploading image: ValidationError: Thefollowingfieldis invalid: filenameatupsertRow
...
['Value must be unique']
Possible Cause:
Is this error caused by filename: null left by payload.create?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a Node.js script that seeds a Collection and its related Media:
Logs:
After
payload.create
After
payload.update
Questions:
1. Why does payload.create not set width, height, and sizes?
The sizes object is null in
payload.create
, but it gets populated afterpayload.update
.2. Error: The following field is invalid: filename (Value must be unique)
I’m getting this error when running the script:
Possible Cause:
Is this error caused by
filename: null
left bypayload.create
?Beta Was this translation helpful? Give feedback.
All reactions