Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

POST

Not able to import project json

STEP 1 : Export : curl -X GET -u azure-user:XXXXXX -H "Content-Type: application/json" "http://devmatillion.westeurope.cloudapp.azure.com/rest/v0/projects?groupName=maap&projectName=matillion_poc&export=true" > matillion_poc.json

STEP 2 : curl -X POST -u azure-user:XXXXXXXXX "http://etmatillion.westeurope.cloudapp.azure.com/rest/v0/projects" -H "Content-Type: application/json" --data-binary @export.json

Erroe : {"success":false,"msg":"Exactly one project group is expected when POSTing to /project.","id":-1}

1 Community Answers

Matillion Agent  

Damian Chan —

Hello Venkat,

I believe in this instance you would need to provide a group name. So it may look something like this.

curl -X POST -u azure-user:XXXXXXXXX “http://etmatillion.westeurope.cloudapp.azure.com/rest/v0/projects?groupName=maap” -H “Content-Type: application/json” —data-binary @export.json

Having said that it may be best to start using our V1 of the API. More information on this is provided below.

https://redshiftsupport.matillion.com/customer/portal/articles/2916124-api-v1

Best Regards,
Damian

Post Your Community Answer

To add an answer please login