Can't create first First User

default discord avatar
3 months ago

We had deployed payload project, now we need another version of it on new server, but after deploy we have troubles creating first admin user, request for creating user fails with status 403.

We tried to add user manualy to database, but even


fails with status 403.

How can I fix it?

  • default discord avatar
    3 months ago

    @ysione This could possibly be a CORS / CSRF issue if you're getting 403's

    Can I check out your payload config

  • default discord avatar
    3 months ago


    Ah, all good, our nginx config had line that was making all requests to PUT requests

    Nothing to do with Payload

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


Connect with the Payload Community on Discord



Can't find what you're looking for?

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