BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
a20121248
Obsidian | Level 7

Hi experts:

 

I am testing a model pipeline in SAS Viya using MAS a publishing destination. I am following these steps:

  1. Publish to MAS

  2. A get to validate the URL
    a20121248_1-1682725924575.png

     

  3. Another request to get the parameters
    a20121248_2-1682726009339.png

     

  4. Ask for a token (hidden)
    a20121248_3-1682726249228.png

     

  5. Configure the token in the POST,
    a20121248_5-1682726311771.png
  6. Execute the POST,  but I get a 403 error
    a20121248_6-1682726343110.png

I've call another API Rest (get modules por example) with the token and it was ok. Any hint?

Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
joeFurbee
Community Manager

Hi @a20121248 ,

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.


Join us for SAS Community Trivia
SAS Bowl XL, SAS Innovate 2024 Recap
Wednesday, May 15, 2024, at 10 a.m. ET | #SASBowl

View solution in original post

2 REPLIES 2
joeFurbee
Community Manager

Hi @a20121248 ,

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.


Join us for SAS Community Trivia
SAS Bowl XL, SAS Innovate 2024 Recap
Wednesday, May 15, 2024, at 10 a.m. ET | #SASBowl

a20121248
Obsidian | Level 7

Thank you @joeFurbee, it worked!

 

It would be great to understand why it happens with Postman.

a20121248_0-1683043187124.png

 

Best regards,

Javier

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 14505 views
  • 1 like
  • 2 in conversation