Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Deployment with SST and open-next to AWS Lambda causes API routes to return 200 with no body #74

Closed
NicholasG04 opened this issue Sep 22, 2023 · 4 comments

Comments

@NicholasG04
Copy link

Hi team,

We've been trying to deploy next-payload using SST and open-next on AWS. This appears to work at first, but then when you try to login, create a user etc. all of the API routes return 200 with no body. We don't see any errors in CloudWatch, and can't seem to see why this could be happening. We have confirmed that the exact same application deploys onto Vercel without any issues.

Thanks for any assistance you might be able to provide.

@NicholasG04 NicholasG04 changed the title Deployment with SST and open-next causes routes to return 200 with no body Deployment with SST and open-next to AWS Lambda causes API routes to return 200 with no body Sep 23, 2023
@lc-51
Copy link

lc-51 commented Oct 12, 2023

@NicholasG04, did you find a solution to this? I'm experiencing the same issue at the moment. Thanks.

@NicholasG04
Copy link
Author

No, sadly we had to switch to another CMS.

@david-mcbacon
Copy link

Same issue here. Anyone with workaround or solution?

@jacobsfletch
Copy link
Member

Hey there @NicholasG04, @lc-51, and @david-mcbacon, this repo will soon be archived because it's been merged into the main Payload repo here: https://github.com/payloadcms/payload/tree/main/packages/next. Payload 3.0 ships with native support for Next.js and is currently out in beta here: https://github.com/payloadcms/payload-3.0-demo. I'm going to close this issue now but feel free to keep the conversation going either as a GitHub Discussion or on Discord. If think issue persists, feel free to open a new ticket on either the demo repo or the monorepo with the 3.x-beta label, and be sure to include a reproduction so we can fix it faster.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants