SharePoint Online - Unable to upload a CSS file to Style Library

Copper Contributor

Hi there, 


When we try to upload a CSS file to the Style Library, we got the following error:


The URL 'Style Library/xxx/xxxxx.css' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.


It happens from CSOM code and also from the UI. The CSS file contains some styles with embedded SVG images in base64 format.


Same file was being uploaded without any issue few days ago.


Has anyone else encountered this issue uploading files? Any fix?




0 Replies