cancel
Showing results for 
Search instead for 
Did you mean: 

Error when querying the Billing Address field in SOQL

Issue

Error: An error has occurred. There may be a problem with your permissions or the document package setup. (MetadataInvalid)

Resolution

This issue could be caused because you are querying the field "Billing Address". The "Billing Address" field is not just a single field, it is composed by several fields: Street, State etc, hence in order to use it in the SOQL query you need to query them separately, "Billing Street", "Billing State", etc.

Labels: (2)
Version history
Revision #:
5 of 5
Last update:
‎08-16-2019 02:00 PM
Updated by: