Description
Description:
I am encountering an error when trying to access the OpenAI API via HTTP. The error message is:
I/flutter (4736): response {error: {message: The OpenAI API can only be accessed over HTTPS. You should access https://api.openai.com rather than the current URL., type: invalid_request_error}}
It seems that the OpenAI API can only be accessed via HTTPS, but my application is attempting to connect via HTTP. I have tried updating my application code to use HTTPS, but the error persists.
Here is some additional context:
I am using the OpenAI API to perform natural language processing tasks.
The error occurs consistently whenever I try to connect to the API via HTTP.
I have confirmed that the API credentials I am using are correct.
I have tried checking my network settings to ensure that there are no restrictions on outbound HTTPS traffic, but the issue persists.
Any help resolving this issue would be greatly appreciated! Please let me know if there is any additional information I can provide to help diagnose the problem.
Screenshots
No response