{'ok': False, 'code': 400, 'error': 'The "salt" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, or DataView. Received undefined'}
'salt' is not mentioned in the Cloud API Reference.
Any ideas about what's wrong?
True <-> true conversion is done by requests.
This code fragment worked in this format for tens of other devices before but not last time. It should be connected somehow to a specific device, product, or customer.