[GH-ISSUE #947] ollama push username/UppercaseModelname fails with 401 error #46977

Closed
opened 2026-04-28 02:25:32 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @easp on GitHub (Oct 29, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/947

I tried pushing a model I'd created with capital letters in the name and repeatedly got a 401 error. It took me a while to figure out why.

It seems like the error should be more descriptive and/or ollama create and ollama cp should enforce the lower-case only rule.

Originally created by @easp on GitHub (Oct 29, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/947 I tried pushing a model I'd created with capital letters in the name and repeatedly got a 401 error. It took me a while to figure out why. It seems like the error should be more descriptive and/or `ollama create` and `ollama cp` should enforce the lower-case only rule.
Author
Owner

@technovangelist commented on GitHub (Oct 29, 2023):

Hey there. Thanks for the issue but looks like a duplicate of #927. I'll close this one, ok?

<!-- gh-comment-id:1784205446 --> @technovangelist commented on GitHub (Oct 29, 2023): Hey there. Thanks for the issue but looks like a duplicate of #927. I'll close this one, ok?
Author
Owner

@easp commented on GitHub (Oct 29, 2023):

@technovangelist It's related, but different.

That's just about the error due to lack of the username. This is about handling of model names containing upper case characters during push, and in general.

<!-- gh-comment-id:1784207249 --> @easp commented on GitHub (Oct 29, 2023): @technovangelist It's related, but different. That's just about the error due to lack of the username. This is about handling of model names containing upper case characters during push, and in general.
Author
Owner

@technovangelist commented on GitHub (Oct 30, 2023):

sorry, that one pointed to another issue that was about the uppercase which got close because it was a duplicate of yet another issue about uppercase.... #336

<!-- gh-comment-id:1784315706 --> @technovangelist commented on GitHub (Oct 30, 2023): sorry, that one pointed to another issue that was about the uppercase which got close because it was a duplicate of yet another issue about uppercase.... #336
Author
Owner

@technovangelist commented on GitHub (Oct 30, 2023):

I have been burned by this one as well, and when someone else experienced it last week I was eager to get it in there. Thanks again for submitting and for all of your help in the Discord.

<!-- gh-comment-id:1784316626 --> @technovangelist commented on GitHub (Oct 30, 2023): I have been burned by this one as well, and when someone else experienced it last week I was eager to get it in there. Thanks again for submitting and for all of your help in the Discord.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#46977