A clear path forward

My app can't make requests to external APIs—what should I check?

Check the deployment logs first to see whether an outgoing request is blocked or redirected, rather than failing in your code.

VerifiedRH-0042v2

Then check these possible causes:

  • Request addresses: look for hard-coded development addresses or calls back to your app's own public address. Check that the request reaches the intended service. Browser requests to the same app can use relative paths; choose an appropriate environment-based address for other request contexts.
  • Build-time requests: make outgoing calls when the app runs, rather than during its build.
  • Network restrictions: if you are using a corporate or school network, ask its administrator whether the relevant connections are blocked.

If requests remain blocked, keep the relevant log lines ready. Remove secret values before sharing them.

Contact support

When: The listed causes do not explain the problem and requests are still blocked.

Have ready:

  • Relevant log lines, with secret values removed

Contact Replit Support

Did this get you unstuck?

Still stuck?

See what to include and open a support ticket.

If this page did not solve it, contact Support and describe what you were trying to do and what happened, in your own words. You do not need to gather anything in advance.

Include in your ticket, if you know it

  • What you were trying to do
  • What happened, in your own words
  • What you have already tried, if anything
Open a support ticket →

Copying is optional. No ticket is submitted and no files are attached automatically; send your request in the support form.

Do not include passwords, API keys, or payment-card details.

Share or save this answer

Send a link

Point someone to this answer.

Save the answer

Paste the answer into your notes.