I created a v2.3 serverless app that calls an external site and it works perfectly when run locally (fdk run) but when installed, it logs:
{ status: 403, headers: {}, response: ‘URL not allowed’, errorSource: ‘APP’, attempts: 1 }
The target URL is open to the internet (I have tried both public sites like webhook.site and my own domain URLs)
Any help appreciated.
Kithiyon
(Arokiya Kithiyon A)
2
Hi @Mark_Dedlow
Can you check your request URL and try the hardcoded URL in the request?
I do have it hardcoded:
{
“postTimeSheet”: {
“schema”: {
“protocol”: “https”,
“method”: “POST”,
“host”: “webhook.site”,
“path”: “/5c1b5b05-aca6-4270-883e-bb16a9f5e8b3”,
“headers”: {
“Content-Type”: “application/json”
}
}
}
}
Kithiyon
(Arokiya Kithiyon A)
4
Hi @Mark_Dedlow
Can you try this
"postTimeSheet": {
"schema": {
"method": "POST",
"host": "webhook.site",
"path": "/5c1b5b05-aca6-4270-883e-bb16a9f5e8b3",
"headers": {
"Content-Type": "application/json"
}
}
}
That’s the same but without protocol. That has same error.
Kithiyon
(Arokiya Kithiyon A)
6
Hey @Mark_Dedlow
Can you try the same request in Postman? so that we can find the issue