In the logViewer I see that this is a java.lang.IllegalStateException.
In any case, it is not caused by the Json type argument “string”, because “String” results in the same.
Eventually I need to pass an argument with value of a specific GAV from Jenkins, after having released successfully, to run the Nexus script on this GAV.

Rich, thanks for the reply, but If I upload this script through the API page via add
{
“name”: “hello”,
“content”: “log.info(“Hello”)”,
“type”: “string”
}
and call it through the run option I get the HTTP 400 / Bad Request: “Missing engine for language: string” result.
I can not choose alternative Mime-types for either action.

Running the script by cUrl the Mime-type does not matter for the exception in the logViewer.