[GH-ISSUE #1464] Ollama API Documentation: Error responses are not defined. #787

Open
opened 2026-04-12 10:28:10 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @therohitdas on GitHub (Dec 11, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1464

I received a 500 Internal Server error as a response when using Ollama MacOS and Ollama-UI.
This made me realise that errors are not mentioned in Ollama's documentation, so other projects are unable to implement it in their proxy.

Here is the Ollama logs dump for my issue: https://github.com/ollama-webui/ollama-webui/issues/193#issuecomment-1849616910

Can we have Errors returned by each API in the documentation?

Originally created by @therohitdas on GitHub (Dec 11, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1464 I received a 500 Internal Server error as a response when using Ollama MacOS and Ollama-UI. This made me realise that errors are not mentioned in [Ollama's documentation](https://github.com/jmorganca/ollama/blob/main/docs/api.md), so other projects are unable to implement it in their proxy. Here is the Ollama logs dump for my issue: https://github.com/ollama-webui/ollama-webui/issues/193#issuecomment-1849616910 Can we have Errors returned by each API in the documentation?
GiteaMirror added the documentationapi labels 2026-04-12 10:28:11 -05:00
Author
Owner

@technovangelist commented on GitHub (Dec 11, 2023):

That’s a great point. thanks for posting the issue.

<!-- gh-comment-id:1850618749 --> @technovangelist commented on GitHub (Dec 11, 2023): That’s a great point. thanks for posting the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#787