How to Solve “Out of range value for column” Error

Situation: write data to the database and report out of range value for column
reason: the database field is too large
Solution:
1. If – 1 is passed in, modify the database field to signed int.
2. If too large a number is passed in, try changing the field to bigint or increasing the length.

Read More: