0

Using Salesforce REST API, I am getting this error on some records, and I cannot find the reason why.

I already checked this answer: NUMBER_OUTSIDE_VALID_RANGE: value outside of valid range on numeric field: 100.0

But in my case, this is the precision and scale:

<precision>6</precision>
<scale>3</scale>
<type>Percent</type>

If I am correct, precision 6 and scale 3 means I can store 100.000.

The value that cannot be stored and generates an error is: 100.0.

Any help would be appreciated.

Salesforce REST API Version: 53

CUSTOM FIELD OF DATA TYPE: Percent

FIELD PRECISION: 6

FIELD SCALE: 3

VALUE THAT GENERATES ERROR: 100.0

ERROR MESSAGE: "NUMBER_OUTSIDE_VALID_RANGE value outside of valid range on numeric field: 100.0"

1
  • 1
    Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Dec 15, 2022 at 6:44

0

You must log in to answer this question.

Browse other questions tagged .