eclipse-velocitas / vehicle-app-cpp-template

Vehicle App template for C++
Apache License 2.0
7 stars 4 forks source link

Error occurred during async invocation: MQTT: Callback threw an exception on update: [json.exception.type_error.302] type must be number, but is string #53

Closed patopat closed 1 year ago

patopat commented 1 year ago

Hi,

There is a mistake in the tutorial for the dummy payload, the datatype for the requestId is a string and an int is expected in the sample.

It should be:

{ "position": 300, "requestId": 123}

Regards, Pat

MP91 commented 1 year ago

Hey @patopat, good catch!

We will fix this in https://github.com/eclipse-velocitas/velocitas-docs/pull/99