You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The .data Array{Uint8,1} returned has a bunch of 0x00 at the end causing the JSON string in it to be miss-formed. It seems to work with similar code on a small piece of data.
The text was updated successfully, but these errors were encountered:
Okay, this we have this figured out. Its actually two bugs:
Our gateway was doing strange encoding on the binary data. Thats why we could only see it on the running cloud server. That explains why it was larger. Ive changed the SDK to work with strings and it base64 encodes binary data when you use the helper encodeBinaryData.
In addition, our server-side stream reader was truncating the data if it was large. Subequently changed out and im redeploying it tonight. That explains why we saw the ends of the files as zeros and only saw it with data > a couple kb
So, two changes made. @Affie you may need to switch back to strings for data. But otherwise should be ok.
The .data Array{Uint8,1} returned has a bunch of 0x00 at the end causing the JSON string in it to be miss-formed. It seems to work with similar code on a small piece of data.
The text was updated successfully, but these errors were encountered: