micz / ThunderAI

ThunderAI is a Thunderbird Addon that uses the capabilities of ChatGPT or Ollama to enhance email management.
https://micz.it/thunderbird-addon-thunderai/
GNU General Public License v3.0
15 stars 5 forks source link

"You exceeded your current quota" - I have a paid plan #137

Open ehula opened 22 hours ago

ehula commented 22 hours ago

The problem

I am getting this error even though I have a paid plan:

*Information*
Attempting to connect to OpenAI ChatGPT using the API key provided and model "gpt-4o-mini"...

*You*
<Prompt>

*Chat GPT - Error*
You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.

Which Operative System are you using?

Linux

Which version of Thunderbird are you using?

128.1.1esr

Which version of ThunderAI has the issue?

2.1.4

Which integration are you using?

OpenAI ChatGPT API

Anything in the Thunderbird console logs that might be useful?

No response

Additional information

No response

micz commented 22 hours ago

Having a paid plan to use the ChatGPT web interface doesn't give you any credit to use the API. Sadly it's a different plan and it's pay per use: https://platform.openai.com/settings/organization/billing/overview

ehula commented 20 hours ago

OK. Thanks for the reply.

So now I am trying to use the web interface (I assume this is the free version), but when I select an option like "Reply to this", it looks like a window tries to open, but it is immediately closed.

micz commented 13 hours ago

May you activate the debug option, try again and post the log from Thunderbird? Open the console with CTRL+SHIFT+J. Thank you.

ehula commented 2 hours ago

Sure. Here you go.

[ThunderAI Logger | mzta-background] [ThunderAI] Prompt length: 355 mzta-logger.js:35:44
sizeToContent() is deprecated and will be removed in the future. ext-mail.js:1581:18
Content-Security-Policy: Couldn’t process unknown directive ‘report-to’ chatgpt.com
XrayWrapper denied access to property "length" (reason: object is not safely Xrayable). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported. index.js:6380:21
Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src-elem 'self' 'nonce-d6ffe229-52b6-449d-8ad6-025ca506fc1c' 'sha256-eMuh8xiwcX72rRYNAGENurQBAcH7kLlAUQcoOri3BIo=' https://auth0.openai.com https://challenges.cloudflare.com https://chatgpt.com/ces https://*.chatgpt.com https://*.chatgpt.com/ https://*.oaistatic.com https://apis.google.com https://chat.openai.com https://chatgpt.com https://chatgpt.com/ https://chatgpt.com/backend-anon https://chatgpt.com/backend-api https://chatgpt.com/backend/se https://chatgpt.com/graphql https://chatgpt.com/public-api https://chatgpt.com/voice https://docs.google.com https://js.live.net/v7.2/OneDrive.js https://oaistatic.com https://snc.apps.openai.com https://tcr9i.chat.openai.com https://tcr9i.chatgpt.com/ https://www-onepick-opensocial.googleusercontent.com wss://*.chatgpt.com wss://*.chatgpt.com/” index.js:6167:27
The resource at “https://browser-intake-datadoghq.com/api/v2/logs?dd-api-key=pub1f79f8ac903a5872ae5f53026d20a77c&dd-evp-origin=content-security-policy&ddsource=csp-report&ddtags=version%3Achatgpt-csp-new” was blocked by OpaqueResponseBlocking. Reason: “nosniff is true and mimeType is an opaque-blocklisted MIME type or its essence is 'text/plain'”.
A resource is blocked by OpaqueResponseBlocking, please check browser console for details. logs
Some cookies are misusing the recommended “SameSite“ attribute 2
Ignoring unsupported entryTypes: layout-shift. kx5kvg0igqglf8xo.js:463:24092
Ignoring unsupported entryTypes: longtask. kx5kvg0igqglf8xo.js:463:24249
Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    RA https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:39
    F8 https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    N8 https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    Fee https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    P8 https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    S https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:26
    k https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:26
kx5kvg0igqglf8xo.js:463:5179
Uncaught Error: Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    RA https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:39
    F8 https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    N8 https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    Fee https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    P8 https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    S https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:26
    k https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:26
22 kx5kvg0igqglf8xo.js:39:4820
Uncaught Error: Minified React error #423; visit https://reactjs.org/docs/error-decoder.html?invariant=423 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    F8 https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    N8 https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    $ee https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    _E https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    BA https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    P8 https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:41
    S https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:26
    k https://cdn.oaistatic.com/assets/kx5kvg0igqglf8xo.js:26
kx5kvg0igqglf8xo.js:41:45333
WebExtensions: Window manager refused to set window to state 3. ext-mail.js:1619​