12 Jun 2018

The parameter 'misc::workflow' is invalid

Default blog image

When using the Model Derivative API's POST Job endpoint and trying to set the misc >> workflow parameter

{
    "input": {
        "urn": "{{Urn}}",
        "compressedUrn": true,
        "rootFilename": "{{RootFileName}}"
    },
    "output": {
        "destination": {
            "region": "us"
        },
        "formats": [
        {
            "type": "svf",
            "views": ["3d", "2d"]
        }]
    },
    "misc": {
    	"workflow": "my_workflow_id"
    }
}

you might get the following reply:

{
    "diagnostic": "The parameter 'misc::workflow' is invalid."
}

The most likely cause is that you are using some invalid characters in the workflow value - like underscores "_"  

Tags:

Related Article

Posted By

Adam Nagy

Follow @AdamTheNagy Adam Nagy joined Autodesk back in 2005 and has been providing programming support, consulting, training and evangelism to external developers. He started his career in Budapest, then worked in Prague for 3 years and now lives in South England, UK. At the moment focusing on Inventor and Fusion 360, plus cloud and mobile related technologies. Adam has a degree in Software Engineering and has...