Start a new topic
Answered

Error while creating Model from API

Hi All,


We are facing below error when trying to create a new model in UAT using API.


{
    "error": {
        "errorMessage": "Operation not supported on this repository type: DEPLOYMENT",
        "errorId": "41ffbdee-77f7-4a54-8a36-8ad527564e66",
        "statusCode": 500
    }
}


Please let me know if anything needs to be changed.


Thanks,

Satish



txt
(293 Bytes)

Best Answer

Hi, 

In a deployment repository, you can't create a model. Everything is closed in the repository.

If you want to add a new model to your UAT, you need to create it in your development environment and then import the closed model edition into your UAT. 


Regards, 


Benoit 


Answer

Hi, 

In a deployment repository, you can't create a model. Everything is closed in the repository.

If you want to add a new model to your UAT, you need to create it in your development environment and then import the closed model edition into your UAT. 


Regards, 


Benoit 

Hi Benoit,


Thanks for the response.


Will the import model also create the data location in the deployment repository.


Thanks,

Satish

Hi Satish, 


We have another end-point for the creation of the data location. 

You can use those two end-points for your case. 


Regards, 


Benoit 

Hi Benoit,


We imported the model edition to UAT and the model is created in Application Builder and DB schema tables are not created yet.


We created the data location after the model is imported and that created the tables in Public schema even though we passed the "datasource" parameter.


Can you please help in this regard. Attached API scripts in the same sequence that they are executed.


Thanks,

Satish

txt

Hello Satish, 

Can you confirm your user is correctly configured ? Do you use the correct search path $user, public,extension ? 


Regards, 


Benoit


1 person likes this
Login to post a comment