function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

INVALID_FIELD: Invalid name: userpermissionsmarketinguser in User

I tried accessing the user entity with all fields from a describe call. 3 fields I am getting "INVALID_FIELD: Invalid name" error for: UserPermissionsMarketingUser, UserPermissionsOfflineUser, UserPermissionsWirelessUser

Is their anyway to know that these fields are inaccessible after doing a describe on the user entity?


Hi WhiZa,

I don't know of a good way other than using the field names themselves.  This issue, by the way, has been resolved in our upcoming release.


Does this also apply to the following exception: "INVALID_FIELD: Invalid name: permissionscreateaccount in Profile"?  I am using version 2.5 of the API.

Hi mgachet,

Yes, it does apply.  Expect this to be solved in the upcoming spring release.