Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
muratsgunes
Contributor
Contributor

Qlik Sense Extension - OpenAI API Connection Issue

I have developed a Qlik Sense extension that integrates with the OpenAI ChatGPT API. However, when running it on the Cloud environment, API requests fail. I receive the following error in the console:

{
    "status": 0,
    "readyState": 0,
    "statusText": "error",
    "message": "API request failed: error",
    "errorInfo": " - Connection issue or another problem."
}

 

Additionally, I sometimes see this error message:

Refused to connect to 'https://api.openai.com/v1/chat/completions'

The extension works fine in the local environment, but fails on Cloud. Has anyone encountered a similar issue before? Any suggestions for a solution would be greatly appreciated.

Thanks!

Labels (4)
0 Replies