Skip to content

Ollama - [ThunderAI] Error from API worker: undefined: 403 Forbidden, Detail: Forbidden #700

@syrabo

Description

@syrabo

The problem

Ollama Error (URL: http://localhost:11434/api/generate, model: qwen3.5:4b): Error: API request failed: 403
analyzeWithOllama moz-extension://61c94608-9f95-4f4f-8f25-48d455334e81/background-bundle.js:8905
background-bundle.js:8916:13

I cannot use ollama.

Which Operative System are you using?

macOS

Which version of Thunderbird are you using?

148.0.1

Which version of ThunderAI has the issue?

4.0.1

Which integration are you using?

Ollama API

Anything in the Thunderbird console logs that might be useful?

Ollama Error (URL: http://localhost:11434/api/generate, model: qwen3.5:4b): Error: API request failed: 403
    analyzeWithOllama moz-extension://61c94608-9f95-4f4f-8f25-48d455334e81/background-bundle.js:8905
background-bundle.js:8916:13

[ThunderAI | SpamFilter] Error getting spamfilter:  Error: [ThunderAI] Error from API worker: undefined: 403 Forbidden, Detail: Forbidden 
    onmessage moz-extension://b17a9c06-a56b-4724-89a5-d98227a9f584/js/mzta-special-commands.js:141
mzta-background.js:1210:29
    processEmails moz-extension://b17a9c06-a56b-4724-89a5-d98227a9f584/mzta-background.js:1210

Additional information

I set launchctl setenv OLLAMA_ORIGINS "*".

The models from Ollama are retrieved in the plugin settings, which suggests that OLLAMA_ORIGINS is set; with this, Ollama also works in the Brave browser in parallel.

The error occurs when I try to use ThunderAI as well as when summarizing prompts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues without activity in the last 7 days or more

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions