Just looking for some guidance on using the blob data type for attributes on devices. Trying to store a base64 encoded string (longer than the 1023 string max) using the workflow Device:State node. Looking at the Device Log I can see the following error message: The data for a provided attribute is not valid for that attribute's data type.
I have tried various different content type but not having any luck and figured you guys could point me in the right direction. thanks
Welcome to the Losant Forums!
Would you be able to provide a screenshot of this error and an example of the data you’re trying to report as a blob attribute?
Just to help out in the meantime, when reporting Blob Data from a workflow you may use the base64Encoded helper to re-encode your UTF8 string to base64:
{{{encodeBase64 working.imageData}}}