BackendlessException: Wrong json format: Cannot deserialize instance of `float` out of START_OBJECT token

Getting this error in Flutter.

Invoking custom method like

await Backendless.customService
.invoke(‘Vehicles’, ‘getMakesByYear’, {‘year’: int.parse(year)});

Hello @jp19344

I’ve created an internal ticket to investigate the issue, the ticket’s number is BKNDLSS-24917
Our engineer take a look into the problem as soon as possible.

Regards, Vlad

Single variables only need passing through like this

await Backendless.customService
.invoke(‘Vehicles’, ‘getMakesByYear’, year);