Closed offizium-berndstorath closed 1 month ago
The description to the fields states that:
"id - string - ID (UUID). This is automatically generated on enqueue."
Which means you don't need to specify it.
This is not related to the problem in any way
Everything you need to send Downlink in the example below:
{ "queueItem": { "confirmed": false, "data": "SGVsbG8gZnJvbSBHaUh1YiA6KQ==", "fPort": 123 } }
I wouldn't have created this issue if it worked.
{
"queueItem": {
"confirmed": false,
"data": "SGVsbG8gZnJvbSBHaUh1YiA6KQ==",
"fPort": 123
}
}
results in
{
"code": 13,
"message": "Odd number of digits",
"details": []
}
It's weird because it's supposed to work. I checked that such an error occurs when specifying an incorrect DevEUI: I added an extra space after it and as a result I got the same error as yours.
The problem was that the generated OpenAPI is invalid or Postman interprets it wrong
Request URL:
{{baseUrl}}/api/devices/04b6480450061804/queue
Request Body:Response Body:
If I add something to data (e.g.
EEA==
) I get thisMaybe updating
grpc-gateway
fixes this