You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
still getting error :
Error: {"error":{"statusCode":422,"name":"UnprocessableEntityError","message":"The request body is invalid. See error object `details` property for more info.","code":"VALIDATION_FAILED","details":[{"path":"/unappliedAmount","code":"type","message":"must be number","info":{"type":"number"}},{"path":"/appliedAmount","code":"type","message":"must be number","info":{"type":"number"}}]}}
Even after applying conversion to Number, still conversion does not happen.
tried parseFloat too.
This code uses the isNaN() function to check if the fields are numeric before attempting to convert them. If a field is null, undefined, or a non-numeric string, isNaN() will return true, and the field will not be converted.
Steps to reproduce
Current Behavior
Expected Behavior
Link to reproduction sandbox
Additional information
Related Issues
See Reporting Issues for more tips on writing good issues
The text was updated successfully, but these errors were encountered: