KB#0068 Collect, backup, and restore classification data with the node classifier API for Puppet Enterprise 3.7.x to 2018.1.x

Comments

2 comments

  • Avatar
    Thirumoorthi Ramaswami

    Gettting this error while moving node classifications from one node to another

     

    {"kind":"malformed-request","msg":"The body of your request is not valid JSON.","details":{"body":"/tmp/classifier_groups.json","error":"com.fasterxml.jackson.core.JsonParseException: Unexpected character ('/' (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature 'ALLOW_COMMENTS' not enabled for parser)\n at [Source: (StringReader); line: 1, column: 2]"}}

     

  • Avatar
    Paul Schaffer

    Hello Thirumoorthi, from the error it would appear that you're missing the "@" in the data-binary payload:

    --data-binary "@/<PATH TO classifier_groups.json>"

Please sign in to leave a comment.