The error code 403 indicates that your OpenAI API key does not have the necessary permissions or credits to perform the requested operation. The error message specifically states: "Your newly created teams doesn't have any credits yet."
To resolve this issue, please follow these steps:
- Check Your OpenAI Account: Go to the OpenAI platform console (https://platform.openai.com/) and log in with the account associated with the API key you are using in pyVideoTrans.
- Verify Billing and Credits: Ensure that your account has a valid payment method set up and that you have sufficient credits or a positive balance. The error suggests your "team" has no credits, so you may need to purchase them via the link provided in the error or set up billing in your OpenAI account settings.
- Update API Key in pyVideoTrans: In the pyVideoTrans settings, make sure you have entered the correct API key for a paid, active OpenAI account. If you have generated a new key after adding credits, update it in the software.
Once you have confirmed your OpenAI account is funded and active, the translation/transcription should work correctly.