Azure Static Web Apps: data from 3rd party API not calling properly in production, but fine in Localhost

Job ID: 36270468

Budget: $2 – $8 USD

I have a static web app built with Gatsby JS and deployed on Azure Cloud via the Static Web Apps service.

The problem that I have is that, while the 3rd party API (Fauna DB) triggers as expected when application is run in LocalHost, it is not being called when deployed on Azure. I get a 405 error and the data is not visible on front-end.

This is only a problem with the above DB API.
Another 3rd party API, from which data is pulled in at build time, works as expected.
Related categories: Azure GatsbyJS