How is the error code issued? In the SAS log, or as a pop-up on the desktop? If the former, please provide the relevant part of the log (</> sub-window), if the latter, a screenshot.
Googling for "sas studio error 21505" gets me an AI answer suggesting some kind of permission issue, but I recommend to get in touch with SAS technical support.