<?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: CAP Application 404 error after CF deployment in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14002126#M4901331</link>
    <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/142224"&gt;@paulo_noronha2&lt;/a&gt; What is the exact URL that Work Zone is trying to connect to, which results in a 404 error?</description>
    <pubDate>Thu, 30 Jan 2025 19:07:42 GMT</pubDate>
    <dc:creator>MioYasutake</dc:creator>
    <dc:date>2025-01-30T19:07:42Z</dc:date>
    <item>
      <title>CAP Application 404 error after CF deployment</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaq-p/13999614</link>
      <description>&lt;P&gt;Hi Experts,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We are studying a proof of concept using CAP development. The application runs locally but raises a 404 error in CF after deployment.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulo_noronha2_0-1738084487405.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218427i1D87457C66BBA1FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulo_noronha2_0-1738084487405.png" alt="paulo_noronha2_0-1738084487405.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulo_noronha2_1-1738084565585.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218428i2FAFCE89B2788410/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulo_noronha2_1-1738084565585.png" alt="paulo_noronha2_1-1738084565585.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I published the app in the work zone, but I still received the same error, and I'm unsure how to resolve this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulo_noronha2_2-1738084636452.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/218429i2DC85ADE75CBC62C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulo_noronha2_2-1738084636452.png" alt="paulo_noronha2_2-1738084636452.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've changed the YML and JSON extensions to the TXT to upload the files here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does somebody know what I should do?&lt;BR /&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 17:25:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaq-p/13999614</guid>
      <dc:creator>paulo_noronha2</dc:creator>
      <dc:date>2025-01-28T17:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: CAP Application 404 error after CF deployment</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14000095#M4901082</link>
      <description>&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/142224"&gt;@paulo_noronha2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to access the deployed service, the URL should be like:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;.../odata/v4/processor&lt;/PRE&gt;&lt;P&gt;Therefore, the 404 error from the destination is not an issue. The service may not be accessible from Work Zone due to the xs-app.json setting. Because the two routes have the same source, the Approuter cannot distinguish them. Try the following settings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "source": "^/odata/(.*)$",
  "target": "/odata/$1",
  "destination": "srv-api",
  ...,
},
{
  "source": "^(.*)$",
  "target": "$1",
  "service": "html5-apps-repo-rt",
  ...
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 09:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14000095#M4901082</guid>
      <dc:creator>MioYasutake</dc:creator>
      <dc:date>2025-01-29T09:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: CAP Application 404 error after CF deployment</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14001606#M4901272</link>
      <description>Hi, thanks for your support.</description>
      <pubDate>Thu, 30 Jan 2025 12:08:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14001606#M4901272</guid>
      <dc:creator>paulo_noronha2</dc:creator>
      <dc:date>2025-01-30T12:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: CAP Application 404 error after CF deployment</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14001607#M4901273</link>
      <description>Hi Thanks for you support.</description>
      <pubDate>Thu, 30 Jan 2025 12:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14001607#M4901273</guid>
      <dc:creator>paulo_noronha2</dc:creator>
      <dc:date>2025-01-30T12:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: CAP Application 404 error after CF deployment</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14001611#M4901274</link>
      <description>&lt;P&gt;Hi Thanks for your support. It was possible to reach the service using the /odata/v4/processor to complete the URL. I've changed the xs-app.json file as you suggested but the error persists when I try to access the application through workzone: "Failed to load resource: the server responded with a status of 404 ()"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulo_noronha2_0-1738239479425.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/219251i339F1DA905945560/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulo_noronha2_0-1738239479425.png" alt="paulo_noronha2_0-1738239479425.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Locally it's working fine&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulo_noronha2_1-1738239519251.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/219252i55B57C72BD6FB5C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulo_noronha2_1-1738239519251.png" alt="paulo_noronha2_1-1738239519251.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 12:19:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14001611#M4901274</guid>
      <dc:creator>paulo_noronha2</dc:creator>
      <dc:date>2025-01-30T12:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: CAP Application 404 error after CF deployment</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14002126#M4901331</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/142224"&gt;@paulo_noronha2&lt;/a&gt; What is the exact URL that Work Zone is trying to connect to, which results in a 404 error?</description>
      <pubDate>Thu, 30 Jan 2025 19:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14002126#M4901331</guid>
      <dc:creator>MioYasutake</dc:creator>
      <dc:date>2025-01-30T19:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: CAP Application 404 error after CF deployment</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14006744#M4901954</link>
      <description>&lt;P&gt;Hi, I am having a problem accessing the following link through the Workzone: &lt;A href="https://9949bcdctrial.launchpad.cfapps.us10.hana.ondemand.com/site?siteId=3845475c-3244-425f-8dce-881e0acdf4f7#bfcportal-display?sap-ui-app-id-hint=saas_approuter_bfc.bfcportal" target="_blank" rel="noopener"&gt;https://9949bcdctrial.launchpad.cfapps.us10.hana.ondemand.com/site?siteId=3845475c-3244-425f-8dce-881e0acdf4f7#bfcportal-display?sap-ui-app-id-hint=saas_approuter_bfc.bfcportal&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;I've found the 404 not found error below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulo_noronha2_0-1738672657353.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/221749iFA8B8D0A50E25303/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulo_noronha2_0-1738672657353.png" alt="paulo_noronha2_0-1738672657353.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 12:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-application-404-error-after-cf-deployment/qaa-p/14006744#M4901954</guid>
      <dc:creator>paulo_noronha2</dc:creator>
      <dc:date>2025-02-04T12:38:50Z</dc:date>
    </item>
  </channel>
</rss>

