<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: 504: GATEWAY TIMEOUT error in Cloud Foundry Environment in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/504-gateway-timeout-error-in-cloud-foundry-environment/qaa-p/14434365#M4945296</link>
    <description>Dear elamparithi666, your question appears to concern Cloud Foundry runtime. I recommend changing the SAP-Managed tag to "SAP BTP, Cloud Foundry runtime and environment". Kind regards, Oliver</description>
    <pubDate>Mon, 06 Jul 2026 11:07:15 GMT</pubDate>
    <dc:creator>oliver_maynard</dc:creator>
    <dc:date>2026-07-06T11:07:15Z</dc:date>
    <item>
      <title>504: GATEWAY TIMEOUT error in Cloud Foundry Environment</title>
      <link>https://community.sap.com/t5/technology-q-a/504-gateway-timeout-error-in-cloud-foundry-environment/qaq-p/14414363</link>
      <description>&lt;P&gt;When calling the API in the SAP BTP Cloud Foundry (CF) environment, it connects to the backend OData service (on-premises) to fetch data from the SAP system. The target endpoint "default" parameter io.timeout.millis has been configured to 60 seconds as per the SAP documentation. However, the issue is that a "504 - Gateway Timeout" error is returned by the API before 60 seconds.&lt;BR /&gt;Why is the io.timeout.millis configuration not being considered or meaningful in the CF environment? Could this be related to a limitation or issue in the SAP BTP Cloud Foundry environment?&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/docs/sap-api-management/sap-api-management/target-endpoint-properties" target="_blank"&gt;https://help.sap.com/docs/sap-api-management/sap-api-management/target-endpoint-properties&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2026 09:19:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/504-gateway-timeout-error-in-cloud-foundry-environment/qaq-p/14414363</guid>
      <dc:creator>elamparithi666</dc:creator>
      <dc:date>2026-06-09T09:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: 504: GATEWAY TIMEOUT error in Cloud Foundry Environment</title>
      <link>https://community.sap.com/t5/technology-q-a/504-gateway-timeout-error-in-cloud-foundry-environment/qaa-p/14434365#M4945296</link>
      <description>Dear elamparithi666, your question appears to concern Cloud Foundry runtime. I recommend changing the SAP-Managed tag to "SAP BTP, Cloud Foundry runtime and environment". Kind regards, Oliver</description>
      <pubDate>Mon, 06 Jul 2026 11:07:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/504-gateway-timeout-error-in-cloud-foundry-environment/qaa-p/14434365#M4945296</guid>
      <dc:creator>oliver_maynard</dc:creator>
      <dc:date>2026-07-06T11:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: 504: GATEWAY TIMEOUT error in Cloud Foundry Environment</title>
      <link>https://community.sap.com/t5/technology-q-a/504-gateway-timeout-error-in-cloud-foundry-environment/qaa-p/14503876#M4950155</link>
      <description>&lt;P&gt;Hi, According to the API Management documentation you linked, the default timeout is 54 seconds for APIs created based on an on-premise backend. An explicitly configured `io.timeout.millis` value is applied only when it is lower than the applicable default. Therefore, setting it to `60000` does not extend the timeout to 60 seconds in this scenario. [SAP documentation](&lt;A href="https://help.sap.com/docs/sap-api-management/sap-api-management/target-endpoint-properties" target="_blank"&gt;https://help.sap.com/docs/sap-api-management/sap-api-management/target-endpoint-properties&lt;/A&gt;) However, we still need to confirm whether this explains your 504 error. **After exactly how many seconds does the error occur, and what error code appears in the API Management trace?** If it occurs around 54 seconds, that is consistent with the documented limit. If it occurs significantly earlier, another timeout in the request chain should be investigated. If the backend OData operation takes longer than the supported timeout, I would consider optimizing the query and reducing the amount of returned data. An asynchronous flow may also be appropriate for long-running operations.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2026 14:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/504-gateway-timeout-error-in-cloud-foundry-environment/qaa-p/14503876#M4950155</guid>
      <dc:creator>furkan5</dc:creator>
      <dc:date>2026-10-14T14:44:41Z</dc:date>
    </item>
  </channel>
</rss>

