+ Start a Discussion
Priyadarshi NayakPriyadarshi Nayak 

Invalid Variable Error

Product has a variable named "ExternalId' 
While setting its value in a new object it throws Invalid Variable error.
Refer attached screenshot (red underlined).
Any point why this error. 

screen 1
screen -2
Anjita MaheshwariAnjita Maheshwari
Hi Priyadarshi,

Does your profile have access of this field? Please check the FLS of this field and let me know if your profile have access of the field but still facing the issue.

Priyadarshi NayakPriyadarshi Nayak
Thank Anjita
The user has System Administrator profile. The field externalId has exactly same setting with other fields that does give any compilation error. Please refer attached screenshot.screen 3