Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

The following field is invalid

default discord avatar
realluciano2 years 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!

  • discord user avatar
    jarrod_not_jared
    2 years ago

    Hey

    @1014197588670558258

    ! 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
    realluciano2 years ago

    Hey

    @281120856527077378

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

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.