<?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: Error 404 when trying to access a full stack CAP appl... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/error-404-when-trying-to-access-a-full-stack-cap-application-deployed-in/qaa-p/14076604#M4910658</link>
    <description>&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/789"&gt;@MioYasutake&lt;/a&gt;Thank you for your response. Eventually, after posting this, I came across the below tutorial from SAP&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.sap.com/tutorials/deploy-to-cf..html" target="_blank" rel="noopener"&gt;https://developers.sap.com/tutorials/deploy-to-cf..html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here the steps mentioned helped me change the manifest.json as well as the mta.yaml file.&lt;/P&gt;&lt;P&gt;However, I do have one query. When the application is deployed, I see only 2 applications in my dev space, i.e. the service and the db-deployer.&lt;BR /&gt;Usually, we also have an approuter right from where we are able to access even the html5 app and accessing the html 5 app through cockpit leads to auth issue? What do we have to do do make our config that way? Also, is that the standard config which is followed?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raihan&lt;/P&gt;</description>
    <pubDate>Tue, 15 Apr 2025 12:33:19 GMT</pubDate>
    <dc:creator>raihan_siddiqui</dc:creator>
    <dc:date>2025-04-15T12:33:19Z</dc:date>
    <item>
      <title>Error 404 when trying to access a full stack CAP application deployed in Cloud Foundry</title>
      <link>https://community.sap.com/t5/technology-q-a/error-404-when-trying-to-access-a-full-stack-cap-application-deployed-in/qaq-p/14076074</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;I have created a full stack CAP application and deployed it in Cloud Foundry. However when trying to access the app via HTML5 repository, I get a blank page and when I open the console, I see a bunch of 404 errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have followed a youtube tutorial:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=z10xke7yli4&amp;amp;list=PL54JdsBCvI0mPwzMkzlNnulw3NaxoWzks&amp;amp;index=23" target="_blank"&gt;https://www.youtube.com/watch?v=z10xke7yli4&amp;amp;list=PL54JdsBCvI0mPwzMkzlNnulw3NaxoWzks&amp;amp;index=23&lt;/A&gt;&lt;BR /&gt;The steps which I followed were exactly the same, still I am getting this issue.&lt;/P&gt;&lt;P&gt;Steps to reproduce:&lt;/P&gt;&lt;P&gt;1. Clone the github repository:&amp;nbsp;&lt;A href="https://github.com/developedbysom/cap-animal-adopt.git" target="_blank"&gt;https://github.com/developedbysom/cap-animal-adopt.git&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Run npm install.&lt;/P&gt;&lt;P&gt;3. Run cds add hana --for production&lt;/P&gt;&lt;P&gt;4. Run cds add xsuaa --for production&lt;/P&gt;&lt;P&gt;5. Run cds add workzone (Since we are using managed approuter, this will also create xs-app.json in app/adopter)&lt;BR /&gt;6. Run npm install --prefix app/adopter/&lt;/P&gt;&lt;P&gt;7. Run cds add mta&amp;nbsp;&lt;BR /&gt;8. Run mbt build -t gen --mtar mta.tar &amp;amp;&amp;amp; cf deploy gen/mta.tar&lt;/P&gt;&lt;P&gt;I have added my xs-app.json,mta.yaml and manifest.json files as txt in the question.&lt;BR /&gt;Please look into this and guide me if I am doing anything wrong.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raihan&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 05:42:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-404-when-trying-to-access-a-full-stack-cap-application-deployed-in/qaq-p/14076074</guid>
      <dc:creator>raihan_siddiqui</dc:creator>
      <dc:date>2025-04-15T05:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error 404 when trying to access a full stack CAP appl...</title>
      <link>https://community.sap.com/t5/technology-q-a/error-404-when-trying-to-access-a-full-stack-cap-application-deployed-in/qaa-p/14076346#M4910636</link>
      <description>&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/145217"&gt;@raihan_siddiqui&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remove the leading slash from the following part of the manifest.json.&lt;/P&gt;&lt;LI-CODE lang="json"&gt;"uri": "/odata/v4/adopter/",&lt;/LI-CODE&gt;&lt;P&gt;Alternatively, you can add the following task in the &lt;SPAN&gt;ui5-deploy.yaml&lt;/SPAN&gt;. This task removes the leading slash during the build.&lt;/P&gt;&lt;LI-CODE lang="yaml"&gt;  customTasks:
    - name: webide-extension-task-updateManifestJson
      afterTask: replaceVersion
      configuration:
        appFolder: webapp
        destDir: dist &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 08:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-404-when-trying-to-access-a-full-stack-cap-application-deployed-in/qaa-p/14076346#M4910636</guid>
      <dc:creator>MioYasutake</dc:creator>
      <dc:date>2025-04-15T08:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error 404 when trying to access a full stack CAP appl...</title>
      <link>https://community.sap.com/t5/technology-q-a/error-404-when-trying-to-access-a-full-stack-cap-application-deployed-in/qaa-p/14076604#M4910658</link>
      <description>&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/789"&gt;@MioYasutake&lt;/a&gt;Thank you for your response. Eventually, after posting this, I came across the below tutorial from SAP&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.sap.com/tutorials/deploy-to-cf..html" target="_blank" rel="noopener"&gt;https://developers.sap.com/tutorials/deploy-to-cf..html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here the steps mentioned helped me change the manifest.json as well as the mta.yaml file.&lt;/P&gt;&lt;P&gt;However, I do have one query. When the application is deployed, I see only 2 applications in my dev space, i.e. the service and the db-deployer.&lt;BR /&gt;Usually, we also have an approuter right from where we are able to access even the html5 app and accessing the html 5 app through cockpit leads to auth issue? What do we have to do do make our config that way? Also, is that the standard config which is followed?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raihan&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 12:33:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-404-when-trying-to-access-a-full-stack-cap-application-deployed-in/qaa-p/14076604#M4910658</guid>
      <dc:creator>raihan_siddiqui</dc:creator>
      <dc:date>2025-04-15T12:33:19Z</dc:date>
    </item>
  </channel>
</rss>

