From what I've read, payloadcms 3.0 can be deployed with nextjs directly on one server and should work out of the box. However, on my deployed nextjs app on netlify, the api functions to payloadcms do not work and give me errors or cause an Application Error. Are there extra steps I need to take to make payloadcms calls work ?
(I've attached images of the errors)