Oracle Fusion AI Data Platform Forum

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Error while trying to upload regression model

Received Response
16
Views
1
Comments

We are following this guide: https://blogs.oracle.com/analytics/create-a-data-science-model-for-oac

We are trying to upload a multiple linear regression model in python but we are facing the attached error.

Does anyone knows why?

Here the .py source code:

Answers

  • Brendan T
    Brendan T Rank 7 - Analytics & AI Coach

    Looks like it might be an authorisation issue within your region (Frankfurt). I'd check what resources you are allocated to ensure you are permitted. Also have a look at the OCI DS Group Policies which need to be configured before using

    raise exceptions.ServiceError(
    

    oci.exceptions.ServiceError: {'target_service': 'data_science', 'status': 404, 'code': 'NotAuthorizedOrNotFound', 'opc-request-id': '90FE9BD854334AFC8524B0F97FA94DF7/C272A989D0C29E02BA71C169465241D1/03439DC8DF678ABA6C4A677234116155', 'message': 'Authorization failed or requested resource not found.', 'operation_name': 'create_model', 'timestamp': '2026-03-23T17:00:42.422720+00:00', 'client_version': 'Oracle-PythonSDK/2.167.2', 'request_endpoint': 'POST https://datascience.eu-frankfurt-1.oci.oraclecloud.com/20190101/models',