diff --git a/pkg/schema/field/number.go b/pkg/schema/field/number.go
index 5a00bd9b45ffc5fa79720891fc20a1dd421471c9..1075ef2bc075ef07aa403ee3ad1dd51903f32345 100644
--- a/pkg/schema/field/number.go
+++ b/pkg/schema/field/number.go
@@ -93,7 +93,7 @@ func (NumberType) decode(_ context.Context, field *Field, v interface{}) (interf
 			return i, nil
 		case float64:
 			if i > maxInt || i < minInt {
-				return nil, errors.Errorf("the passed value %f must be in the range from %d to %d", i, maxInt, minInt)
+				return nil, errors.New("integer out of range")
 			}
 			return int64(math.Round(i)), nil
 		}