NetOps Customer Validation (aka IM Pre Release) 1

 View Only

Invalid character in vendor certification. Is the charset header correct?

  • 1.  Invalid character in vendor certification. Is the charset header correct?

    Posted Nov 20, 2013 07:02 AM

    Anyone else receiving this error message when trying to upload a device certification xml?

    I'm editing the xml using XML Notepad 2007 and uploading with RESTClient 3.2.1.

    When I try to upload I get this error message:

    <?xml version="1.0" encoding="UTF-16"?>
    <TCWebServiceStatus>
        <statusCode>400</statusCode>
        <statusMessage>Invalid character in vendor certification. Is the charset header correct?  </statusMessage>
        <errorText>Invalid byte 1 of 1-byte UTF-8 sequence.</errorText>
        <statusMessageTag>com.ca.im.item.ws.impl.TypeCatalogWebServiceEndPointImpl.snmpvc.badutf8</statusMessageTag>
        <l10nprops>
            <!-- Localization properties for building translated status page -->
            <title>Type Catalog Web Service Status</title>
            <code>Status code</code>
            <message>Message</message>
        </l10nprops>
    </TCWebServiceStatus>
     
    As a workaround I copy the first line of the error message and replace the first line of the xm body, only replacing UTF-16 with UTF-8. Not a big deal, but a bit annoying.