Unknown bridge request error calling https://...
I am trying to add the endpoint in the UI for production, although it is actually the Vercel preview URL right now. When I go to it I get OK response, but I get the error in the subject when I try to add it to the UI. In GitHub workflow I get 400.
10 Replies
@SubsKeepr
You will have to use this with preview url
https://vercel.com/docs/security/deployment-protection/methods-to-bypass-deployment-protection/protection-bypass-automation
Protection Bypass for Automation
Learn how to bypass Vercel Deployment Protection for automated tooling (e.g. E2E testing).
Could you share this error?
but I get the error in the subject when I try to add it to the UI
in the new UI and old UI
I am using the bypass protection. I'll check it again though.
@SubsKeepr
you will have to add query param with this url
https://....url.../api/novu?x-vercel-protection-bypass=BYPASS_KEY
I will try that. I was setting the header in code using
beforeServe
@SubsKeepr, you just advanced to level 2!
Nice! that worked! Thanks!
In local studio when i try to sync I get
Error occurred while syncing. Signature does not match the expected signature. Please ensure the signature provided in the novu-signature
header is correct and try again.
local studio will not be able to sync deployed application with our cloud
local studio is to sync workflows in local machine to cloud usign tunnel url
Ok, confused cause it asks for "Deployed application URL"
I update the GH action to include the query param and everything synced.
@SubsKeepr
Thanks for the update
I will include this in the documentation
This info is live on our docs
https://docs.novu.co/framework/deployment/cli#using-vercel-preview-url