Project ID: 64a33869b3545c4a05cdfeb9
The error occurs at deployment. It builds correctly. I'm not able to reproduce it locally. I tried running
yarn buildthen
yarn serveto replicate but it works fine locally, the error only occurs in Payload Cloud.
do you have your serverURL set correctly in your config?
Hey - thanks for responding!
Where can I find the serverURL?
it will be in your
payload.config.tsfile.
oh I didn't have that on my payload.config.ts, I just entered and trying to deploy now
Same issue - didn't help
I'm copying over your answer from the other thread to here in case others come across the same issue:
"Ok! I was able to fix this. I had changed the PORT of the express server and when I reverted it to 3000, it started working again 🙌"
Star
Discord
online
Get dedicated engineering support directly from the Payload team.