#create seek error: {"time":["error.real"],"increment":["error.number"]}
3 messages · Page 1 of 1 (latest)
It could be that you use decimals and strings as your values?
I get the same error message if I use increment=0.0 and time="10":
curl --header "authorization: Bearer ***" -d 'increment=0.0&time="10"' http://localhost:9663/api/board/seek
{"time":["error.real"],"increment":["error.number"]}
If I instead use increment=0 and time=10 it works fine.
Yes. The Issue seems to be that i'm passing a String to it, but golang doesn't let me put integer as a parameter for The add value function