<?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 Get 403 when doing a score - MAS API in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Get-403-when-doing-a-score-MAS-API/m-p/872948#M6338</link>
    <description>&lt;P&gt;Hi experts:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am testing a model pipeline in SAS Viya using MAS a publishing destination. I am following these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Publish to MAS&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;A get to validate the URL&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_1-1682725924575.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83392i7EC06C14C3D9E467/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_1-1682725924575.png" alt="a20121248_1-1682725924575.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Another request to get the parameters&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_2-1682726009339.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83393i82D4BE10CE6B7CB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_2-1682726009339.png" alt="a20121248_2-1682726009339.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Ask for a token (hidden)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_3-1682726249228.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83394iDA22802741183E45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_3-1682726249228.png" alt="a20121248_3-1682726249228.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Configure the token in the POST,&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_5-1682726311771.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83396iE19C3E6F54D2C664/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_5-1682726311771.png" alt="a20121248_5-1682726311771.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Execute the POST,&amp;nbsp; but I get a 403 error&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_6-1682726343110.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83397i3E62D8176BC14E80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_6-1682726343110.png" alt="a20121248_6-1682726343110.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I've call another API Rest (get modules por example) with the token and it was ok. Any hint?&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Sat, 29 Apr 2023 00:00:10 GMT</pubDate>
    <dc:creator>a20121248</dc:creator>
    <dc:date>2023-04-29T00:00:10Z</dc:date>
    <item>
      <title>Get 403 when doing a score - MAS API</title>
      <link>https://communities.sas.com/t5/Developers/Get-403-when-doing-a-score-MAS-API/m-p/872948#M6338</link>
      <description>&lt;P&gt;Hi experts:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am testing a model pipeline in SAS Viya using MAS a publishing destination. I am following these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Publish to MAS&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;A get to validate the URL&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_1-1682725924575.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83392i7EC06C14C3D9E467/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_1-1682725924575.png" alt="a20121248_1-1682725924575.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Another request to get the parameters&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_2-1682726009339.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83393i82D4BE10CE6B7CB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_2-1682726009339.png" alt="a20121248_2-1682726009339.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Ask for a token (hidden)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_3-1682726249228.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83394iDA22802741183E45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_3-1682726249228.png" alt="a20121248_3-1682726249228.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Configure the token in the POST,&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_5-1682726311771.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83396iE19C3E6F54D2C664/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_5-1682726311771.png" alt="a20121248_5-1682726311771.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Execute the POST,&amp;nbsp; but I get a 403 error&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_6-1682726343110.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83397i3E62D8176BC14E80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a20121248_6-1682726343110.png" alt="a20121248_6-1682726343110.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I've call another API Rest (get modules por example) with the token and it was ok. Any hint?&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2023 00:00:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Get-403-when-doing-a-score-MAS-API/m-p/872948#M6338</guid>
      <dc:creator>a20121248</dc:creator>
      <dc:date>2023-04-29T00:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Get 403 when doing a score - MAS API</title>
      <link>https://communities.sas.com/t5/Developers/Get-403-when-doing-a-score-MAS-API/m-p/873270#M6340</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/101232"&gt;@a20121248&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;This could be a cookies-related issue. In Postman click on the Cookies button and remove all cookies. Also, under settings enable the 'Disable Cookie Jar' option. Then try and rerun the request. If this fixes it, I'll work on getting an explanation as to why it failed to begin with.&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 20:18:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Get-403-when-doing-a-score-MAS-API/m-p/873270#M6340</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2023-05-01T20:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get 403 when doing a score - MAS API</title>
      <link>https://communities.sas.com/t5/Developers/Get-403-when-doing-a-score-MAS-API/m-p/873420#M6341</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/214450"&gt;@joeFurbee&lt;/a&gt;, it worked!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would be great to understand why it happens with Postman.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a20121248_0-1683043187124.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83493iEFE14732EC0B1F55/image-size/large?v=v2&amp;amp;px=999" role="button" title="a20121248_0-1683043187124.png" alt="a20121248_0-1683043187124.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Javier&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 16:01:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Get-403-when-doing-a-score-MAS-API/m-p/873420#M6341</guid>
      <dc:creator>a20121248</dc:creator>
      <dc:date>2023-05-02T16:01:01Z</dc:date>
    </item>
  </channel>
</rss>

