API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#API Connect
#Applicationintegration
#APIConnect
 View Only
  • 1.  IBM API Connect SaaS Free Trial - cannot invoke external backend URLs - 500 Internal Server Error with ~4 second timeout

    Posted 05/11/26 09:17 AM

    Hi

    Environment:
    IBM API Connect SaaS Trial (30-day, AWS)
    Gateway: DataPower Nano Gateway (apic-nano-byf0)
    Catalog: Sandbox

    Problem:
    When using the Invoke policy to call any external backend URL, the API always returns 500 Internal Server Error with a consistent response time of ~4135ms. The response headers show:
    server: envoy
    x-envoy-upstream-service-time: 4135

    Tested backend URLs (all fail with same result):

    URL Result
    https://<ngrok-url>/case1-server 500 ~4135ms
    https://<cloudflare-tunnel>/case1-server 500 ~4135ms
    https://httpbin.org/get 500 ~4191ms


    what I tried:
    curl https://<ngrok-url>/case1-server from local machine → returns correct JSON response
    curl https://<cloudflare-tunnel>/case1-server from local machine → returns correct JSON response
    Replacing Invoke policy with a Set policy (mock response) → returns 200 OK
    The consistent ~4 second timeout across ALL URLs (including well-known public APIs like httpbin.org) suggests the Nano Gateway has no outbound internet egress rather than a configuration issue

    Question:
     
    Does the DataPower Nano Gateway in the IBM API Connect trial have outbound internet access restrictions?
    Is calling external/internet URLs from the Invoke policy supported in the trial tier?
    If not, what is the recommended approach for connecting to a locally-running backend service (e.g., IBM ACE 12 running on localhost:7800) during trial/learning?
    Does deploying the backend to an EC2 instance in the same AWS region as the APIC trial cluster resolve this? IBM documentation mentions EC2 backends are supported - does this apply to the trial tier as well?



    Date: 2026-05-06

    Thanks,
    Bassant



    ------------------------------
    Bassant Hassan
    ------------------------------



    ------------------------------
    Bassant Mahmoud
    ------------------------------


  • 2.  RE: IBM API Connect SaaS Free Trial - cannot invoke external backend URLs - 500 Internal Server Error with ~4 second timeout

    Posted 06/11/26 09:13 AM

    Can you try adding the tls client profile name and version in your invoke policy. You can get this in your catalog setting.



    ------------------------------
    Vishnu Prabhakar R
    ------------------------------



  • 3.  RE: IBM API Connect SaaS Free Trial - cannot invoke external backend URLs - 500 Internal Server Error with ~4 second timeout

    Posted 07/06/26 09:49 AM

    When I studied the API connect, I chatgpt/copilot the same question, and was told the trial account does not support the external api call



    ------------------------------
    Michael Liu
    ------------------------------



  • 4.  RE: IBM API Connect SaaS Free Trial - cannot invoke external backend URLs - 500 Internal Server Error with ~4 second timeout

    Posted 07/06/26 09:49 AM

    From chatgpt, it says the external api call is not supported



    ------------------------------
    Michael Liu
    ------------------------------



  • 5.  RE: IBM API Connect SaaS Free Trial - cannot invoke external backend URLs - 500 Internal Server Error with ~4 second timeout

    Posted 07/07/26 02:09 AM

    Hey Michael,

    Nano gateway supports external api calls...

    you should be able to invoke those..... can you try without adding any policies first....

    Thanks



    ------------------------------
    Nisha V
    ------------------------------