You need to sign in to do that
Don't have an account?
sbrmath
System.StringException: Invalid id error while accessing reference variable
Here is the code snippet
acc.c_prop_cd__c = guestMatch.Prop
c_prop_cd__c is a reference varaible & Prop is value i am getting from a web service callout.
I am getting System.StringException: Invalid id error.
is there something i should do to assign value to a reference variable?
Convert "guestMatch.Prop" in string then assin to acc.c_prop_cd__c
Try this.
guestMatch.Prop is already a string.