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 XLVI, Causal Analysis
Wednesday, December 18, 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 XLVI, Causal Analysis
Wednesday, December 18, 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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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