Your score could not be published
Error code 401 Authorisation required.
What is this? I am logged in and everything.
Error code 401 Authorisation required.
What is this? I am logged in and everything.
Do you still have an unanswered question? Please log in first to post your question.
Comments
See FAQ (frequently asked questions):
https://musescore.org/en/faq#faq-359393
In reply to FAQ (frequently asked… by DanielR
When trying to upload a score to .com the error code 401 indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource.
You need to login on the site .com or via the MuseScore software, see: https://musescore.org/en/handbook/3/share-scores-online#direct .
Done all that, is it a caching issue?
In reply to When trying to upload a… by stevelc777
I used the Upload button on Musescore.com, and it seems to be working.
There errors were when I used the Publish button in the Musescore app.
In reply to I used the Upload button on… by stevelc777
It should also work with the Publish button.
Some have reported that it works if you log out, then close and reopen the MuseScore app and log in again.
In reply to It should also work with the… by HildeK
Restarted the computer,and it finally went through and got published.
In reply to Restarted the computer,and… by stevelc777
You have my sympathies. Yes, the logging out and restarting musescore seems to work sometimes. And if that also fails, I have resorted to creating a new score and jettisoning the old, which is a real shame. There are so many glitches with this publishing process that I throw my hands up in despair. Reporting these problems to musescore.com does not appear to have any effect. And as to the correct way to upload a score is concerned, there are quite a few anomalies in the user experience i.e. the upload screens; it can be very confusing.
Also, what is the difference between doing an upload from muscore.com via the Update file button, and publishing from within a musescore score? The help text doesn't really explain.
In reply to You have my sympathies. Yes,… by Ali Wood
The upload button in musescore.com gives slightly different screens, and it doesnt have the screen that errors in the app
What I suspect is that when MuseScore starts up, it authenticates. What I believe is that those credentials get stale and when you try to upload, they are out of date and no longer valid. Just save the file locally, restart MuseScore and it will get new credentials and save online just fine.
In reply to What I suspect is that when… by Dkirtley
I'll try that, I just now had to restart Musescore app because it was glitching so much, and then, it was fine again
In reply to What I suspect is that when… by Dkirtley
When you say Save Online...?. I never use this, I always save locally. Is saving online the same as publishing? I work on a Windows desktop, not a phone.
In reply to When you say Save Online...?… by Ali Wood
Another way I find that sometimes resets the situation is to blank out the source field in the properties section of the score.
In reply to When you say Save Online...?… by Ali Wood
Publishing creates a new version that is separate from the local copy.
I don't know specifically what system they are using but most work in a similar manner. They don't use your username and password to access. They instead generate a token to authenticate each time and it has a predetermined time limit that it is valid.
When Musescore starts up, it gets an updated list of scores you have published for the "recent files" (Possibly just checking that they are still there but what counts is that it uses your credentials to access your account (as it should be.) Later, when you might want to access the musescore.com site, the credentials may have expired (again, as it should be so people can't use old credentials to access your data)
Most times, you don't leave the program running long enough for it to be an issue and you don't even notice.
Personally, I just make it a routine to save locally before I try to publish online. If it has expired, I get the same error. All I do is close down the program and start it again and then it will publish online with no issue.
In reply to Publishing creates a new… by Dkirtley
I always save locally, no matter what, and then I do the uploady thing