Hello Experts,
I am trying to build a customized chatbot in Oracle APEX using the OCI Generative AI Service provider.
I have completed the configuration in APEX and provided all required OCI authentication details:
- Compartment OCID
- User OCID
- Tenancy OCID
- API Key Fingerprint
- Private Key (PEM format)
- Region
However, when testing the connection, I receive the following error:
Authentication error or forbidden access (HTTP) for URL: https://inference.generativeai.uk-london-1.oci.oraclecloud.com/20231130/actions/chat Connection Failed! 401: The required information to complete authentication was not provided or was incorrect.
The API key is uploaded under the IAM user in OCI, and the fingerprint matches the private key used in APEX.
Since this configuration is required for implementing a custom chatbot integration in APEX, I would appreciate guidance on what could be causing this 401 authentication failure when calling the OCI Generative AI endpoint.
Has anyone faced a similar issue while integrating OCI Generative AI with APEX?
Thank you.
