BookmarkSubscribeRSS Feed
AllanBowe
Barite | Level 11

When submitting a relatively large (>20k lines) SAS program in SAS Studio we are getting the 403 below

 

image.png

 

We are also unable to upload the file to SAS Content, or the SAS Server directly using the file explorer (just hangs)

SYSVLONG=V.04.00M0P030625

 

Product name:
SAS® Studio (Analyst)
Version:
Stable 2025.03
Release:
20250506.1746542786204
 
Any hints / suggestions?
/Allan
MacroCore library for app developers
Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
3 REPLIES 3
gwootton
SAS Super FREQ
The rejection seems to be coming from the application gateway, based on your description I'm guessing you're running against a size limitation in the configuration of the gateway. Here's some doc I found on Microsoft's site that might apply.

https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/application-gateway-waf-request-...
--
Greg Wootton | Principal Systems Technical Support Engineer
jazmon
SAS Employee

Hello Allan,

Do you also get the 403 error on any other large code?
If you were to break the code up into parts, can you run them without issue or does a certain part fail?

With regards to uploading the file to SAS Content or the SAS Server directly, if you are not a SAS Admin for the system, can the SAS Admin upload the file to the server or to SAS Content or does it still hang?

 

Also, how big is the file you are trying to upload? If it is failing to upload (even for the SAS Admins), this could point to some corruption in the file itself. Are you able to open the file in another application (SAS or not) and what is the type of file?

 

The 403 error generally means you don't have authorization to do something, meaning your access to run part of the code or save to a certain file/folder is being blocked. Are the SAS Admins able to run the code without issue or do they also get the 403 error?

AllanBowe
Barite | Level 11

Thanks @gwootton and @jazmon  for your feedback!

 

Indeed the problem turned out to be nothing to do with SAS and an issue with the external (to SAS platform) Azure Gateway.

 

The SAS Admin "removed the limits on the WAF associated with the NetApp gateway" and the issue was fixed.

 

Related SAS Track:  CS0255081

/Allan
MacroCore library for app developers
Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Discussion stats
  • 3 replies
  • 1111 views
  • 2 likes
  • 3 in conversation