# Common error: \`123\` is not a valid number

**URL:** <https://forum.api.combocurve.com/t/common-error-123-is-not-a-valid-number/275>\
**Category:** Guidance\
**Tags:** common-errors\
**Created:** [December 13, 2023, 4:15pm UTC](https://forum.api.combocurve.com/t/common-error-123-is-not-a-valid-number/275 "2023-12-13T16:15:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Hopkins](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.api.combocurve.com/jeff_hopkins/32/119_2.png) [@Jeff\_Hopkins](https://forum.api.combocurve.com/u/Jeff_Hopkins)\
**Post date:** [December 13, 2023, 4:15pm UTC](https://forum.api.combocurve.com/t/common-error-123-is-not-a-valid-number/275/1 "2023-12-13T16:15:14Z")

</div>

This issue is seen when PUT/POST requests in the API include a non-numeric value for a numeric field. It should have a name property of “TypeError” and a message stating that the input value “is not a valid number”. This error can be a bit tricky to spot if the user has passed in a string representation of a number.

Example with non-numeric value in numeric field:

 ![image (18)](https://canada1.discourse-cdn.com/flex035/uploads/the_combocurve_api/original/1X/dfe52d5d004f6f1261c682f063d53aa1434f31c0.png)

Example with numeric value in numeric field:

 ![image (19)](https://canada1.discourse-cdn.com/flex035/uploads/the_combocurve_api/original/1X/c119b15ef41586fdadccec6689a2b183380b1a45.png)

Because this API uses the HTTP 207 multi-response status code it is important to look at the body of the responses received from PUT/POST/DELETE methods to ensure that you are not missing validation errors for individual records included in your requests.

Example response body with validation errors:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/the_combocurve_api/original/1X/d0724bdbcb807d754088a81785770b811e199076.png)  
This PUT request had five individual production records to upsert, and all five records had validation issues. You can see the `failedCount` property indicates that 5 errors were encountered, and the results array includes a validation error message for each record (some were collapsed for brevity)
