Tracking down "A value provided cannot be converted into a number" error
FrankDMartinez opened this issue · comments
FrankDMartinez commented
Hello. When trying to put an object to local DynamoDB, the following error was returned:
&awserr.requestError{
awsError: &awserr.baseError{
code: "ValidationException",
message: "A value provided cannot be converted into a number",
errs: nil,
},
statusCode: 400,
requestID: "e7b49b35-d4b4-49ee-9619-6b04f23c292e",
bytes: nil,
}
The data payload is quite cumbersome. How do I determine which field cannot be converted?
Thanks in advance.
FrankDMartinez commented
Found it. I had a division-by-zero result in the payload.