Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
cdhemant
Contributor
Contributor

associatePreGeneratedJob throws error as "No value present", no further details

Hello,

Iam using metasservlet api to create task using action associatePreGeneratedJob below is payload, however it give error as "No value present"

Not able to understand what wrong in the payload.

{

 "actionName": "associatePreGeneratedJob",

 "active": true,

 "authPass": "XXXXX",

 "authUser": "XXXXX@YYYY.com",

 "contextName": "Default",

 "description": "task1"s description",

 "executionServerName": "serv1",

 "importType": "Nexus",

 "logLevel": "Info",

 "nexusArtifactId": "exampleJob",

 "nexusGroupId": "com.example.exampleJob",

 "nexusRepository": "releases",

 "nexusVersion": "0.1.0",

 "onUnknownStateJob": "WAIT",

 "pauseOnError": false,

 "taskName": "task1",

 "taskType": "Artifact",

 "timeout": 3600

}

Help appreciated

-Thanks

Hemant

Labels (2)
1 Reply
JohnRMK
Creator II
Creator II

Hello,

 

Your json file is not correct or is not well formatted

You can see and download the file in the following link

I tested it a few days ago (with jenkins) and it creates correctly a task in the tac

 

https://help.talend.com/reader/kmBLRx0MCmj9x1~oZ_NL_A/A08E4wz3t~5J6HG8hqR6xQ