Palantir API throw following error for the API V2.0 Create Build command in reference Create Build • API Reference • Palantir. What is the fix?
{“errorCode”:“INVALID_ARGUMENT”,“errorName”:“InvalidJson”,“errorInstanceId”:“36ee53ba-3fa0-445f-b82e-e42baa15e1fc”,“parameters”:{}} $ curl -X POST
-H “Content-type: application/json”
-H “Authorization: Bearer $FOUNDRY_TOKEN”
“https://$FOUNDRY_HOST/api/v2/orchestration/builds/create”
-d ‘{“abortOnFailure”:false,“retryBackoffDuration”:{“unit”:“SECONDS”,“value”:30},“retryCount”:1,“fallbackBranches”:[“master”],“branchName”:“master”,“target”:{“type”:“manual”,“targetRids”:[" ri.foundry.main.dataset.680f7099-50d1-458d-a21a-545143a30570"]}}’
{“errorCode”:“INVALID_ARGUMENT”,“errorName”:“InvalidJson”,“errorInstanceId”:“36ee53ba-3fa0-445f-b82e-e42baa15e1fc”,“parameters”:{}}