High-order nibble of the byte at array offset 1 is not valid. Byte value: 00

i am trying to send an xml body through a REST API post and i am getting this error.

High-order nibble of the byte at array offset 1 is not valid. Byte value: 00

this is my xml script:

<ShipWorks>

  <Generated>2021-03-30T09:09:29z</Generated>

  <Context>Order</Context>

  <Template>

    <Name>XML Source CS Live</Name>

    <Folder>System\Utility</Folder>

    <Output>

      <ContentWidth>7</ContentWidth>

      <ContentHeight>9.5</ContentHeight>

    </Output>

  </Template>

  <User ID="3002">

    <Username>sodrzywolski</Username>

    <IsAdmin>true</IsAdmin>

  </User>

  <Store ID="15005">

    <StoreName>McGard CS Store</StoreName>

    <StoreType ID="21">

    </StoreType>

  </Store>

  <Customer ID="14248012">

    <Address type="ship">

      <FirstName>Nicole</FirstName>

    </Address>

    <Order ID="2000112051" storeID="1">

      <Number>2000112051</Number>

    </Order>

  </Customer>

</ShipWorks>

Hey @cryosat-technologist ! Are you working in a public workspace by any chance? As much information as you can share, the better.

hi! no im not working in a public workspace

Do you know how to make one? If you create a workspace and set it to public, you can then go to your collection and then fork it or move it to that public workspace. If you do, make sure to remove your secret keys (you can save the variables with empty values). Then you can grab the URL to the collection and share it here! We’ll be able to see closer to “the whole picture” which can help a lot :slight_smile:

I’ve put together a handy little post on how/why to use public workspaces for this :slight_smile:

1 Like