Hosting on vercel /admin doesn't seem to work gives error

default discord avatar
BrandonMager
7 months ago
1

Hi, I am running payload cms on a next.js boilerplate that I wish to run into production on vercel. I have all of my environment variables and configurations in vercel. In my localhost, I am able to go to /admin and interact with payload. However, on vercel, when I try to go to /admin, I get this error message



500: INTERNAL_SERVER_ERROR


Code: FUNCTION_INVOCATION_FAILED



Any idea of how I can fix this? Thanks

  • default discord avatar
    Derosul
    7 months ago

    Can you check the logs on your Vercel app? This might give us a hint on what's going on 🙂

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.