At one point, I was able to create, edit, save Scripts in Jamf Pro using my Standard User account that had Full Access/Administrator. I am now using my LDAP User account that also has Full Access/Administrator. Now the LDAP account and my Standard User account are no longer able to create, edit, save Scripts.
When I try to save the script, I get error "403 Access Denied. Contact your IT Administrator for assistance". From Jamf Pro User Accounts & Groups, I've confirmed all the checkmarks are there (although they're grayed out).
Am I missing setting that will allow me to save scripts?
When I was working with Jamf Support they also thought it could be WAF, despite the fact that I tried saving from multiple computers on multiple networks (and they were able to re-create the issue when I sent them the script). When I got the Jamf Admin workaround (which took weeks to get) I was like "I've spent enough time on this, so I need to move on to different things" and ended up cancelling the ticket.
I am currently seeing the same issues...
My guess is that there is some sort of Script validation process that happens on jamf...
Try saving chucks of code at a time to find the problematic code..
For me custom functions and API calls.
This seems to be fairly new but it is causing issues for me since I cannot update previous scripts.
Use Jamf Admin
As mentioned in an earlier comment, if urgent, you can use the Jamf Admin app to upload scripts to your server. It worked for me.
It is not great for editing existing scripts (though you can copy, edit, and upload as a new script if you really need to), but it saved me when I was stuck.