You need to sign in to do that
Don't have an account?
Daniel Shaheen
Relationship SOQL Query stop working with API 35
The following relationship SOQL query was working fine in my Java app at API 34
No such column 'Type' on entity 'Account'. If you are attempting to use a custom field, be sure to append the '__c'
The running user and profile is fine and have access to the field.
Also I ran the query as the user from Dev console and Wrokbench and is running fine.
Any ideas?
select id, UserType, Contact.Id, Contact.AccountId, Contact.Name, Contact.Email, Account.Type, Account.Name from user where FederationIdentifier='1234'Now is giving me an exception and compalining about This : -
No such column 'Type' on entity 'Account'. If you are attempting to use a custom field, be sure to append the '__c'
The running user and profile is fine and have access to the field.
Also I ran the query as the user from Dev console and Wrokbench and is running fine.
Any ideas?
AccountId is correct. Are you using PersonAccount in your org? if so, then Type is not available in person Accounts.
@R Z Khan - This is a relationship query, so Account is a reference to account object not a filed.
@Shikha Agashi - The query is 100% correct and working, just not working anymore when running it using the Java app & SOAP API.