Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Safus
Creator
Creator

Error while creating project with MetaservletAPI

Hello,

this call ends up in error :

{

 "actionName": "createProject",

 "addTechNameAtURL": true,

 "authPass": "XXXXXXX",

 "authUser": "XXXXXXX",

 "projectName": "DATA_TO_GOOGLE",

 "storage": "git",

 "projectGitLocation":"https://xxxxxxx-es.net/echanges_xxxxxx/tac_v8/datatogoogle.git",

 "gitLogin":"safus@xxxxx.com",

 "gitPassword":"xxxxxxxxxx",

 "gitUserLog":true

}

Response :

{"returnCode":1}

  • This call used to work with other project name and git location and Where to see full log of metaservlet calls ?

Labels (3)
2 Replies
Anonymous
Not applicable

Hello,4

On which talend build version you got this issue? Which docommands fail with error {"returnCode": 1} on metaservlet?

Is there any details in technical.log ?

Best regards

Sabrina

Anonymous
Not applicable

Hi Team,

 

I hope you are doing good.

Return code 1 in metaservlet means unknown error.

 

Please can you try to create the project via metaservlet by making use of the below metaservlet command:

 

{

"actionName": "createProject",

"addTechNameAtURL": true,

"authPass": "admin",

"authUser": "admin@company.com",

"projectName": "project1",

"projectType": "[DI|DQ|MDM] (optional)",

"storage": "[svn|git|none] (default is 'git')"

}

 

Please provide your details in the above fields and execute the command as you did earlier.

We are just removing the below fields from the command:

 

"projectGitLocation":"https://xxxxxxx-es.net/echanges_xxxxxx/tac_v8/datatogoogle.git",

 "gitLogin":"safus@xxxxx.com",

 "gitPassword":"xxxxxxxxxx",

 "gitUserLog":true

 

Please note: Make sure that the git is configured in the TAC -> Configuration -> Git page successfully.

Please try the above and let us know the result of the same.

Thanks in advance.