The following field is invalid

default discord avatar
Luciano
10 months ago
2

Hello everyone,



Trust you are having a great day!



I have a collection that used to have a field with the name of

slug

which also had

unique

set to

true

. I removed that field & I'm getting this error:

The following field is invalid: slug

.



How can I fix this?



Thank you!

  • default discord avatar
    Jarrod
    10 months ago

    Hey @Luciano! You likely have to manually remove the index from the db (not difficult to do). Let me know if that resolved your issue 👍

  • default discord avatar
    Luciano
    10 months ago

    Hey @Jarrod! Yes, that resolved my issue. Thank you very much for your time!

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.