Open AI Error: 429

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
AleksandarJovanovic
Posts: 54
Joined: 01 Jun 2022, 21:26

Open AI Error: 429

Post by AleksandarJovanovic » 16 Oct 2024, 12:53

Php 8.2
Linux
Version 2024.10.

I tried to integrate the API with OpenAI and added the secret key to the .env file. I tested the key, and everything works fine. However, on Aimeos, it constantly returns an Error: 429. There is no error reported in the log. Could I get some help with this?

Thank you in advance.

User avatar
aimeos
Administrator
Posts: 8616
Joined: 01 Jan 1970, 00:00

Re: Open AI Error: 429

Post by aimeos » 16 Oct 2024, 13:04

Make sure you update the packages to the latest versions and you have aimeos/ai-admin-jqadm 2024.10.3 installed. Before, there was an error regarding OpenAI integration.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
AleksandarJovanovic
Posts: 54
Joined: 01 Jun 2022, 21:26

Re: Open AI Error: 429

Post by AleksandarJovanovic » 16 Oct 2024, 13:41

I update on last version but the error still exist.
"require": {
"php": "^8.1",
"composer-runtime-api": "^2.2",
"aimeos-extensions/backend": "dev-main",
"aimeos-extensions/frontend": "dev-main",
"aimeos-themes/bluetheme": "dev-main",
"aimeos/ai-admin-jqadm": "2024.10.3",
"aimeos/aimeos-laravel": "~2024.10",
"guzzlehttp/guzzle": "^7.2",
"laravel/breeze": "^2.0",
"laravel/framework": "^11.0",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.9"
},

User avatar
aimeos
Administrator
Posts: 8616
Joined: 01 Jan 1970, 00:00

Re: Open AI Error: 429

Post by aimeos » 16 Oct 2024, 13:47

Then, your quota has been reached if you are only using a free account:
https://help.openai.com/en/articles/689 ... r-requests
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
AleksandarJovanovic
Posts: 54
Joined: 01 Jun 2022, 21:26

Re: Open AI Error: 429

Post by AleksandarJovanovic » 21 Oct 2024, 18:11

You were right, it was necessary to add the payment method, and now everything works perfectly. Maybe this answer will help someone else as well.
Best regards

Post Reply