Friday, February 3, 2017

SALESFORCE: Permission Issues


Error:

"INVALID_FIELD: Select Id, Name from User Where ProfileId in ('') AND UserRoleId ^ ERROR at Row:1:Column:33 No such column 'ProfileId' on entity 'User'. If you are attempting to use a custom field, 
be sure to append the '__c' after the custom field name. Please reference your WSDL or 
the describe call for the appropriate names."

 
Solution:

Go to the Profile having the issue, and make sure "View Setup and Configuration" option is checked.

No comments:

Post a Comment