[GH-ISSUE #180] When the registry doesn't know of the model/manifest, have a clearer error #69

Closed
opened 2026-04-12 09:36:50 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @dtgriscom on GitHub (Jul 23, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/180

I mis-typed the name of the model I wanted to run, and got a JSON-encoded error message:

MacBook-Pro-2:~ griscom$ ollama list
NAME                	SIZE  	MODIFIED     
llama2:13b          	7.3 GB	9 hours ago 	
llama2:latest       	3.8 GB	2 days ago  	
nous-hermes:latest  	7.3 GB	23 hours ago	
orca:latest         	1.9 GB	23 hours ago	
wizard-vicuna:latest	7.3 GB	24 hours ago	
MacBook-Pro-2:~ griscom$ ollama run orcq
pulling manifest
Error: stream: pull model manifest: "registry responded with code 404: {\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest unknown\",\"detail\":{\"Tag\":\"latest\"}}]}\n"
MacBook-Pro-2:~ griscom$ 

It would be helpful if ollama parsed this error (and others?) to provide a more user-friendly message, e.g. "Unknown model 'orcq'".

Originally created by @dtgriscom on GitHub (Jul 23, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/180 I mis-typed the name of the model I wanted to run, and got a JSON-encoded error message: ``` MacBook-Pro-2:~ griscom$ ollama list NAME SIZE MODIFIED llama2:13b 7.3 GB 9 hours ago llama2:latest 3.8 GB 2 days ago nous-hermes:latest 7.3 GB 23 hours ago orca:latest 1.9 GB 23 hours ago wizard-vicuna:latest 7.3 GB 24 hours ago MacBook-Pro-2:~ griscom$ ollama run orcq pulling manifest Error: stream: pull model manifest: "registry responded with code 404: {\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"manifest unknown\",\"detail\":{\"Tag\":\"latest\"}}]}\n" MacBook-Pro-2:~ griscom$ ``` It would be helpful if ollama parsed this error (and others?) to provide a more user-friendly message, e.g. "Unknown model 'orcq'".
GiteaMirror added the bug label 2026-04-12 09:36:51 -05:00
Author
Owner

@jmorganca commented on GitHub (Jul 23, 2023):

@dtgriscom this is great. Thanks for creating an issue!

<!-- gh-comment-id:1646871805 --> @jmorganca commented on GitHub (Jul 23, 2023): @dtgriscom this is great. Thanks for creating an issue!
Author
Owner

@dtgriscom commented on GitHub (Jul 23, 2023):

@dtgriscom this is great. Thanks for creating an issue!

Always happy to complain... ;)

<!-- gh-comment-id:1646880410 --> @dtgriscom commented on GitHub (Jul 23, 2023): > @dtgriscom this is great. Thanks for creating an issue! Always happy to complain... ;)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#69