<?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>topic SAS Viya returns 403 HTTP code when trying to create a new folder in Developers</title>
    <link>https://communities.sas.com/t5/Developers/SAS-Viya-returns-403-HTTP-code-when-trying-to-create-a-new/m-p/938211#M6530</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running a Go app which I developed which invokes SAS Viya REST API. The Go app runs on my PC and remotely invokes SAS Viya methods on a remote SAS Viya deployment. No browser is involved here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So far, all my requests were GET requests and they all worked fine. Now I am trying to issue a POST request to create a new folder using the instructions at&amp;nbsp;&lt;A href="https://developer.sas.com/rest-apis/folders-v5?operation=createFolder" target="_blank"&gt;https://developer.sas.com/rest-apis/folders-v5?operation=createFolder&lt;/A&gt;&amp;nbsp;and I get back 403 Forbidden reply. I am trying to create a folder in my personal "My Folders" so it cannot be a permission problem on the SAS Viya folders side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wonder if this can be due to CORS? If so, what should I type in the "&lt;SPAN&gt;allowedOrigins" option for CORS settings in SAS for this Go app to work?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2024 08:48:54 GMT</pubDate>
    <dc:creator>EyalGonen</dc:creator>
    <dc:date>2024-08-05T08:48:54Z</dc:date>
    <item>
      <title>SAS Viya returns 403 HTTP code when trying to create a new folder</title>
      <link>https://communities.sas.com/t5/Developers/SAS-Viya-returns-403-HTTP-code-when-trying-to-create-a-new/m-p/938211#M6530</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running a Go app which I developed which invokes SAS Viya REST API. The Go app runs on my PC and remotely invokes SAS Viya methods on a remote SAS Viya deployment. No browser is involved here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So far, all my requests were GET requests and they all worked fine. Now I am trying to issue a POST request to create a new folder using the instructions at&amp;nbsp;&lt;A href="https://developer.sas.com/rest-apis/folders-v5?operation=createFolder" target="_blank"&gt;https://developer.sas.com/rest-apis/folders-v5?operation=createFolder&lt;/A&gt;&amp;nbsp;and I get back 403 Forbidden reply. I am trying to create a folder in my personal "My Folders" so it cannot be a permission problem on the SAS Viya folders side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wonder if this can be due to CORS? If so, what should I type in the "&lt;SPAN&gt;allowedOrigins" option for CORS settings in SAS for this Go app to work?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 08:48:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-Viya-returns-403-HTTP-code-when-trying-to-create-a-new/m-p/938211#M6530</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2024-08-05T08:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya returns 403 HTTP code when trying to create a new folder</title>
      <link>https://communities.sas.com/t5/Developers/SAS-Viya-returns-403-HTTP-code-when-trying-to-create-a-new/m-p/938337#M6531</link>
      <description>&lt;P&gt;Ask the platform admin to check the logs and tell you why the access is denied.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 10:32:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SAS-Viya-returns-403-HTTP-code-when-trying-to-create-a-new/m-p/938337#M6531</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2024-08-06T10:32:04Z</dc:date>
    </item>
  </channel>
</rss>

