<?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: Retrieve data from SAP datasphere using OData API (for system integration) in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14448197#M4946533</link>
    <description>Hello &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/835453"&gt;@oddmar_lid&lt;/a&gt; and &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/248387"&gt;@cardoso&lt;/a&gt;, Has a solution been found for the 403 Forbidden error yet? I'm trying to access the Datasphere OData endpoint /api/v1/datasphere/consumption/relational/ via Postman, and I'm also getting a 403 Forbidden error. How can I fix this?</description>
    <pubDate>Fri, 24 Jul 2026 13:38:10 GMT</pubDate>
    <dc:creator>Emba</dc:creator>
    <dc:date>2026-07-24T13:38:10Z</dc:date>
    <item>
      <title>Retrieve data from SAP datasphere using OData API (for system integration)</title>
      <link>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaq-p/14213530</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to retrieve data from SAP datasphere using its OData API. My usecase is &lt;STRONG&gt;"I have an application ABC who wants to retrieve data from SAP data sphere views/models using OData API capability.&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;I am using postman for my POC/testing purpose. I have read through the below blog&amp;nbsp;&lt;A href="https://community.sap.com/t5/technology-blog-posts-by-sap/how-to-setup-postman-for-consuming-sap-datasphere-apis/ba-p/13550223" target="_blank"&gt;How to setup Postman for consuming SAP DATASPHERE ... - SAP Community&lt;/A&gt; and is successfully able to retrieve data by creating OAuth2 client for&lt;STRONG&gt; "Interactive Usage"&lt;/STRONG&gt; purpose. But my issue with this approach is this token is able to access data from any OData API from any space. I want to restrict access to specific space only.&lt;/P&gt;&lt;P&gt;So I thought may be I should use "Technical User" while creating OAUth client. I have also created a scoped role, given access to required space and added this role to oauth client while creating it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandyk_0-1757516589511.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/312453i995F04802BD5AE48/image-size/medium?v=v2&amp;amp;px=400" alt="Sandyk_0-1757516589511.png" title="Sandyk_0-1757516589511.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandyk_1-1757516692366.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/312454i4A2A1010B98A9E75/image-size/medium?v=v2&amp;amp;px=400" alt="Sandyk_1-1757516692366.png" title="Sandyk_1-1757516692366.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In postman, I used grant type as client credentials, used oauth2SAML token url of datasphere in !Access Token URL" below,&amp;nbsp; entered ID &amp;amp; secret and generated a toke, it was successful. But using this token as well I am able to retrieve data from any space. Looks like the scoped role didn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me where I have gone wrong? is it even right way to do it when an application wants to integrate with DSP?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandyk_2-1757516799554.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/312455iD0071A0A3603BB3A/image-size/medium?v=v2&amp;amp;px=400" alt="Sandyk_2-1757516799554.png" title="Sandyk_2-1757516799554.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="SAP Datasphere" id="73555000100800002141"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="OData" id="551580658536717501828021060147962"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/t5/user/viewprofilepage/user-id/70553" target="_blank"&gt;@Matthew_Shaw&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/239"&gt;@Ian_Henry&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/181094"&gt;@RichT&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/845865"&gt;@shubham521&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sandy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 15:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaq-p/14213530</guid>
      <dc:creator>Sandyk</dc:creator>
      <dc:date>2025-09-10T15:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from SAP datasphere using OData API (for system integration)</title>
      <link>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14213692#M4925883</link>
      <description>&lt;P&gt;Hi Sandy,&lt;BR /&gt;&lt;BR /&gt;I have also done the same as you and created a OAuth Client with Technical user, assigned scope roles to that new technical user.&lt;BR /&gt;&lt;BR /&gt;When testing in Postman I'm not able to connect to Datasphere and get the following error message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oddmar_lid_0-1757530039862.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/312534i3CFEBD4DFC1B9105/image-size/medium?v=v2&amp;amp;px=400" alt="oddmar_lid_0-1757530039862.png" title="oddmar_lid_0-1757530039862.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; used same setup as you Sandy in Postman for Grant Type, Access Token URL, Client ID and Client Secret I got from when I setup the technical user OAuth Client in Datasphere:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oddmar_lid_0-1757619976865.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/313262i59D28EA22A9948E6/image-size/medium?v=v2&amp;amp;px=400" alt="oddmar_lid_0-1757619976865.png" title="oddmar_lid_0-1757619976865.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For the Scoped Role, it only gives access to one specific Space.&lt;BR /&gt;Within this role I have tried to Mark absolutely all checkboxes (Create, Read, Update, Delete, Execute, Maintain, Share, Manage) within the list of auth objects , but also tried to only mark the Checkboxes relevant for consumer (READ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oddmar_lid_1-1757620242508.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/313273i8E1ECEBB27F41140/image-size/medium?v=v2&amp;amp;px=400" alt="oddmar_lid_1-1757620242508.png" title="oddmar_lid_1-1757620242508.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I'm then able to Authenticate towards SAP Datasphere and generate the Token.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oddmar_lid_2-1757620263950.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/313275iB943905D22C4281C/image-dimensions/293x172?v=v2" alt="oddmar_lid_2-1757620263950.png" title="oddmar_lid_2-1757620263950.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I try the GET statement I get the 403 error above.&lt;/P&gt;&lt;P&gt;I dont get any data out of SAP Datasphere.&lt;BR /&gt;You mention that you are able to retrieve data from any space.&lt;BR /&gt;But it is the GET Statement that indicates which Space in the end you try to extract data out of (the ODATA URL you get from your FACT/Analytical Model).&lt;BR /&gt;Do you mean that if you use different GET statements towards different FACT/AM in different Spaces, you get out data for all?&lt;BR /&gt;&lt;BR /&gt;When I reported in the 403 error, I got feedback from SAP that there is a bug in the OAuth setup with technical user and it do not work yet.&lt;BR /&gt;It was supposed to be fixed in Wave 2025.18, but this was skipped for some reason.&lt;BR /&gt;&lt;BR /&gt;Hopefully the fix will come in next Wave, 2025.19, that is scheduled to be released 16.09.&lt;BR /&gt;&lt;BR /&gt;Fingers crossed !!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Oddmar&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2025 19:59:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14213692#M4925883</guid>
      <dc:creator>oddmar_lid</dc:creator>
      <dc:date>2025-09-11T19:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from SAP datasphere using OData API (for system integration)</title>
      <link>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14213801#M4925893</link>
      <description>Hi @oddmar, thank you for the response. hope it works after the fix then, in a week's time!! Looking at your screenshots, you are getting 403 error. But I am getting the actual response from any space.</description>
      <pubDate>Wed, 10 Sep 2025 22:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14213801#M4925893</guid>
      <dc:creator>Sandyk</dc:creator>
      <dc:date>2025-09-10T22:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from SAP datasphere using OData API (for system integration)</title>
      <link>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14215087#M4926033</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Indeed, wave 19 should fix it.&lt;BR /&gt;In case not, let me know so we follow up this internally.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2025 18:44:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14215087#M4926033</guid>
      <dc:creator>cardoso</dc:creator>
      <dc:date>2025-09-11T18:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from SAP datasphere using OData API (for system integration)</title>
      <link>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14261039#M4931000</link>
      <description>Hi Sandy,</description>
      <pubDate>Wed, 05 Nov 2025 08:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14261039#M4931000</guid>
      <dc:creator>vivek_kumar55</dc:creator>
      <dc:date>2025-11-05T08:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from SAP datasphere using OData API (for system integration)</title>
      <link>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14261045#M4931001</link>
      <description>Hi Sandy, We tried in postman with same properties and its working ok for us. We are only getting data from space for which role is specified. But we are not able to use this technical user type client id in CPI and getting authorization error when creating OAuth2 Client credential.</description>
      <pubDate>Wed, 05 Nov 2025 08:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14261045#M4931001</guid>
      <dc:creator>vivek_kumar55</dc:creator>
      <dc:date>2025-11-05T08:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from SAP datasphere using OData API (for system integration)</title>
      <link>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14261048#M4931002</link>
      <description>Hi Sandy, We are able to setup in postman with same properties and able to get data based on assigned scoped role. For other role we can see authorization error which is expected. But we are not able to use this client id in CPI because its giving us authorization error with OAuth2 Client credential.</description>
      <pubDate>Wed, 05 Nov 2025 08:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14261048#M4931002</guid>
      <dc:creator>vivek_kumar55</dc:creator>
      <dc:date>2025-11-05T08:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve data from SAP datasphere using OData API (for system integration)</title>
      <link>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14448197#M4946533</link>
      <description>Hello &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/835453"&gt;@oddmar_lid&lt;/a&gt; and &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/248387"&gt;@cardoso&lt;/a&gt;, Has a solution been found for the 403 Forbidden error yet? I'm trying to access the Datasphere OData endpoint /api/v1/datasphere/consumption/relational/ via Postman, and I'm also getting a 403 Forbidden error. How can I fix this?</description>
      <pubDate>Fri, 24 Jul 2026 13:38:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/retrieve-data-from-sap-datasphere-using-odata-api-for-system-integration/qaa-p/14448197#M4946533</guid>
      <dc:creator>Emba</dc:creator>
      <dc:date>2026-07-24T13:38:10Z</dc:date>
    </item>
  </channel>
</rss>

