You need to sign in to do that
Don't have an account?
AnantGarg
Cannot deserialize instance of MailingAddress from VALUE_STRING
Using REST API, I am trying to insert/update a contact into my business org, though in response I am getting this error message 'Cannot deserialize instance of MailingAddress from VALUE_STRING', the same response also resulting for 'OtherAddress'.
To my understanding, I think this is due to the reason that 'MailingAddress' and 'OtherAddress' are not actual fields that contains some String data, rather they take a dynamic address which resulting in filling up all other related fields like - 'MailingCity, MailingStreet, etc'.
So I have 2 questions:
1. How can I set 'MailingAddress' and 'OtherAddress' fields if I want to using API parameter only?
2. Is there any manual/documentation for this reference? As I am also having trouble with 'OtherLatitude' and 'OtherLogitude' fields.
To my understanding, I think this is due to the reason that 'MailingAddress' and 'OtherAddress' are not actual fields that contains some String data, rather they take a dynamic address which resulting in filling up all other related fields like - 'MailingCity, MailingStreet, etc'.
So I have 2 questions:
1. How can I set 'MailingAddress' and 'OtherAddress' fields if I want to using API parameter only?
2. Is there any manual/documentation for this reference? As I am also having trouble with 'OtherLatitude' and 'OtherLogitude' fields.
https://stackoverflow.com/questions/55101284/salesforce-api-using-compound-fields-cannot-deserialize-instance-of-mailinga (https://stackoverflow.com/questions/55101284/salesforce-api-using-compound-fields-cannot-deserialize-instance-of-mailinga" target="_blank)
All Answers
https://stackoverflow.com/questions/55101284/salesforce-api-using-compound-fields-cannot-deserialize-instance-of-mailinga (https://stackoverflow.com/questions/55101284/salesforce-api-using-compound-fields-cannot-deserialize-instance-of-mailinga" target="_blank)