BookmarkSubscribeRSS Feed
learn_SAS_23
Pyrite | Level 9
  • Does the SYSUSERID used in Proc http authentication ?
  • In our case we verified from sharepoint admin team , that the userid used in our ETL programs have access  to the sharepoint site , But still the batch run  fails by throwing “unauthorized 401 header “ in some runs

 and run successfully in another day  (with response code 200 in the header).

we are using below code

 

 proc http
    url = &sharepoint_URL.
    out = outfile
    method = "get"
               headerout=hdrs
     auth_negotiate
     ct='text/html
     charset=utf-8'
     verbose;
debug level =3;
run;

 

  • w.r.t  reference guide SAS Help Center: Wire Logging ,  how to enable the   logger APP.TK.HTTPC  to trace the reasons for failed authentication  ?
  • please post your suggestions to address this issue.
1 REPLY 1
Sajid01
Meteorite | Level 14

SAS Tech Support is the best resource to approach in this case.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 652 views
  • 0 likes
  • 2 in conversation