Skip to main content

Collect, backup, and restore classification data with the node classifier API for Puppet Enterprise

Did this solve your problem?
2 out of 5 found this helpful

How can we improve this article?

2 comments

  • 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]"}}

     

    0
  • Paul Schaffer (inactive)

    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>"
    0

Please sign in to leave a comment.