Overriding a existing payloadCMS autogenerated field cause error. #15556
Unanswered
jxh0414com
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
⨯ [DuplicateFieldName: A field with the name 'url' was found multiple times on the same level. Field names must be unique.] {
data: null,
isOperational: true,
isPublic: false,
status: 500,
digest: '634104408',
[cause]: null
}
I had a upload: true which creates filename, width, height, filesize, url field. I want to override the url because i want it to show in the admin panel. but got the error. Other fields work.
I also want to ask if there a way to remove THUMBNAIL_URL? i got this video collection which store mp4 and have a thumbnail relationship to media but i dont want that thumbnail_url. any way to remove it?
Beta Was this translation helpful? Give feedback.
All reactions