@Kid Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
When exactly are you getting this error code? Can you share the complete error message?
Based on your error, please refer to the SAS error codes : https://learn.microsoft.com/en-us/rest/api/storageservices/sas-error-codes
The most easiest way to generate the SAS token through Azure Storage Explorer tool. You cab generate the SAS token at the Storage account level and also container/ file level.
Create SAS tokens for your Azure storage
Cause 2 You can also check your firewall rules for the Storage account
Storage accounts > {yourAccount} > Networking > Firewalls and Virtual networks and add your IP address
Additional information: Can you please refer to this article: How a shared access signature works
If you have any additional questions or need further clarification, please let me know.
----------
Please do not forget to
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.