120149: There were one or more errors with the fieldMapping parameter.

Description

The fieldMapping parameter must use valid field names, field types, and Arcade expressions.

Solution

Confirm that you correctly defined the Append Fields and Append Expressions parameters.

For the Append Expressions parameter, the Input Field value must be mapped to an Append Field value of the same type (that is, text mapped to text, and double mapped to double). Field names must be spelled as they appear in the layer.

Expressions used in the Append Expressions parameter must be valid Arcadeexpressions. Confirm that all fields used in the expression are spelled correctly.

Learn more about Append Data expressions