Barrett Nash
 · https://infiniteup.dev/infiniteup-your-premier-partner-in-app-development/

Can’t Deploy Private APIs (Previously Working) + Unable to Publish App Now

Database & APIs

I’m trying to make API calls private to avoid being blocked by the CORS policy. The API calls were functioning well before, but after setting up a new account and trying the Twilio Verify service, I encountered a CORS issue in the console, indicating that the call is being blocked.

What have you tried so far?

I’m facing an issue with deploying private APIs, which was working fine until recently. Here’s what’s happening:

  • I marked the API calls as "Private," expecting this to bypass the CORS policy. However, the issue persists, and I can’t seem to get around it.

  • To troubleshoot, I disabled the "Make Private" option for all API calls and attempted to deploy again. Unfortunately, it still didn’t resolve the issue.

  • Now, I’m unable to publish the app entirely due to an error that appears during the deployment process.

Background

  • The issue is affecting a client app, so any quick help would be greatly appreciated.

  • The Twilio Verify service and other API calls were working fine previously, but now deployment is blocked.

  • I’m unsure if this is related to a recent change or update in FlutterFlow, or if something has changed with the CORS handling.

Example of issue impacting project attached.

Did you check FlutterFlow's Documentation for this topic?
Yes
1
5 replies