refresh API 404 not found

default discord avatar
jbalatero
2 years ago
1 1

Hello, the refresh /refresh gives me HTTP 404 Not Found with body:

Cannot POST /api/[slug]/refresh

The request already contains header Authorization: JWT [token here]

Login and logout endpoints are working fine.

Currently using Payload 0.9.4

Thanks

  • discord user avatar
    jmikrut
    Payload Team
    2 years ago

    Wow! Our docs are wrong. The REST endpoint is:

    POST /api/[:collectionSlug]/refresh-token

    We are going to fix this immediately. Thanks for catching this!

    1 reply
  • default discord avatar
    jbalatero
    2 years ago

    Thanks

Open the post
Continue the discussion in GitHub
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.