Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a site running U7.7.2, and when I log in with administrator privileges, or any of the editors log in, nobody can save any CSS files.
No error is displayed to the user, but the dev console shows Error 417 Expectation Failed
https://(site)/umbraco/RestServices/SaveFile/SaveStylesheet 417 (Expectation Failed)
The trace log that I can get from the developer pane doesn't have any record or any errors related to this.
I have been out of the Umbraco world for a while (I'm only the backup support person, and nobody even TOLD me I was the backup until today). I see that there was a problem in 7.6.5 with error 417 but it was corrected in 7.6.6, so I'm assuming (perhaps incorrectly) that is also fixed in 7.7.2. It also seems like that was manifesting differently.
I don't have the ability to deploy changes currently, but I'm working on getting that access. For now I'm limited to what I can do through the backoffice. Any ideas?
Two things to test / check.
1) Permissions on the css folder on the webserver.
2) Length of the CSS file - I've seen some websites with huge CSS files that the post is rejected.
Probably worth creating a test.css file on the server that's empty and and try and edit it.
It's hosted in Azure; we don't have any way to directly change file system permissions.
I was able to use the back office to create a new, empty CSS file, but attempting to save a single-line
/* hello world */ failed with the same error 417.
I upgraded from 7.6.2 to 7.15.3 and am seeing the same problem when I try to save a CSS file. I can modify the CSS file outside of the backoffice, so this is more annoying than critical for me. Would be great to be able to modify the CSS directly in the backoffice though.
Anybody have thoughts on what to look at for this?
I have tested permissions by temporarily allowing Everyone full access to the CSS folder and still got the error message. So I am assuming that file permissions isn't the problem.
I have tried creating a new CSS file like Carl did and got the same error message, so I am also assuming it isn't a file size issue.
Looks like it is failing to load the resource /umbraco/RestServices/SaveFile/SaveStylesheet when you click into a css file to edit.
Just to add to this list I have the same issue going from 7.5.14 to 7.15.3.
/umbraco/RestServices/SaveFile/SaveStylesheet 417 (Expectation Failed)
...in case this helps anyone:-
my /umbraco/RestServices/SaveFile/SaveStylesheet 417 (Expectation Failed) error was fixed by changing the value in the Config\ClientDependency.config file.
to the default one in the base 7.15.3 files
I tried the above solution and did not work for me :(
Did anyone find another way?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted