Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Button not working on live but prefect on local #542

Open
MrSohaibAhmed opened this issue Aug 6, 2024 · 1 comment
Open

Publish Button not working on live but prefect on local #542

MrSohaibAhmed opened this issue Aug 6, 2024 · 1 comment

Comments

@MrSohaibAhmed
Copy link

I have deployed my puck app on vercel . When i do some edits and hit the publish button . The puck Api gives response 500 .While on local everything is working prefectly fine

@xaviemirmon
Copy link
Contributor

xaviemirmon commented Aug 8, 2024

Hi @MrSohaibAhmed,

It sounds like something's not quite right with your onPublish function's code. As each implementation of Puck is different this sounds like a userland issue. Given that it's working locally and not on Vercel, I'd look through your environment variables to ensure they match up on both, or perhaps the endpoint you're hitting isn't whitelisted against your Vercel domain. Without seeing the onPublish, it's difficult to know where exactly the fault might be.

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

No branches or pull requests

2 participants