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 LIII, SAS Hackathon 2025
Wednesday, August 25, 2025 at 10 am.

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 LIII, SAS Hackathon 2025
Wednesday, August 25, 2025 at 10 am.
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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 15437 views
  • 1 like
  • 2 in conversation