Hello team i am trying to configure LLM OpenAI tok...
# gooddata-legacy
s
Hello team i am trying to configure LLM OpenAI token but its keep giving error, I tried to recreate a new token but its keep failing please check this
s
Hi Shubham, I suggest trying the following steps: Creating a new API key with all permissions and no restrictions, and confirming the account has active billing/credits and hasn’t hit quota - this is the most plausible explanation for the issue. If it still fails, kindly ask you to test the same key directly against OpenAI’s API (e.g., via curl or the OpenAI playground) to confirm it works. Our documentation provides guidance on configuring the AI assistant. If the issue persists, we would need a detailed error report from the dev console to help us analyse it better. Just a quick heads-up: you posted it in the Platform channel, but since you're using our Cloud product, it would be much easier for us to provide the fastest, most accurate support if you post in the Cloud channel next time.
s
Hi @Shamil Akhmadyshev noted for channel, but regarding first point it's all clear for permission billing and all Regarding 2nd point let me check tmmr but mostly should work meanwhile could you please place a request in your dev team to get the exact error
m
Hi @Shubham Mishra, checking further, I manage to find the logs of your request and I found the message error:
Copy code
'OpenAI-Organization header should match organization for API key'
That field is an ID, no a 'name'. For now, I would recommend to leave it empty as it is an optional value. Please, give it a try and let us to know. Friendly note: For next time is not needed to expose, or show the OpenAI Token, or any token as we are in a public channels 🙂
🙌 1
s
hey thanks it worked, sure noted for token part, but actually since it was partially visible only so i thought it won't create any problem but yes i should have removed it from screenshot
j
I have deleted the image just in case.