URL not in allowlist

Hi,

I’m developing an app that is using an SMS api which I’m accessing through an AWS Lambda API gateway. I’ve tested the API through Postman and it works fine. For some reason I keep receiving this error when I go to test it within my forge app…

const response = await api.fetch(baseURL, {
            method: 'POST',
          });

I am fairly new to Atlassian app development and would appreciate some insight into what might be happening here. Thanks!

1 Like

You probably have not setup your egress permissions: https://developer.atlassian.com/platform/forge/runtime-egress-permissions/

Have a read of that and give it a try.

5 Likes

That was definitely the problem, thank you!

1 Like