I am trying to configure Generative AI using Open AI on my on-premise server which runs Oracle Linux, oracle db 23ai, tomcat, ords, apex. the base is https://api.openai.com/v1. As I was getting errors, I setup an account on apex.oracle.com and configured Generative AI with a successful test.
I replicated the settings to the on-premise server and get the following error when doing a test.
Authentication error or forbidden access (HTTP-) for URL https://api.openai.com/v1/chat/completions. Please check the configuration of Generative AI Service.
I wrote a curl script and running on the Linuz Oracle server that has the db, ords and apex, connects to the open ai api with no issues.
What have I missed?
Regards
Rob