Error "Permission check failed. Asking for 0x00000004, have 0xB008431061 Setting status to access denied"

  • 26 March 2021
  • 0 replies
  • 633 views

Userlevel 5
Badge +19
ISSUE
When running a workflow, it might fail and the following error might appear in ULS logs, with verbose logging enabled:

Permission check failed. Asking for 0x00000004, have 0xB008431061. Setting status to access denied."
ERROR CODE
"Permission check failed. Asking for 0x00000004, have 0xB008431061 Setting status to access denied."
RESOLUTION
Ensure that the user account running the workflow has necessary Edit/Contribute permissions to the list.
ADDITIONAL INFORMATION
This error indicates that the Workflow Initiator or a certain workflow "actor" does not have EDIT rights on the targeted item(s).

 

Below the assumed SPBasePermissions enum values for SharePoint, represented in hex and stored as unsigned long. 

 

Permission Name    Hex (base 16)    Decimal

 

EmptyMask    0x0000000000000000    0

 

List and Document permission          
ViewListItems    0x0000000000000001    1
AddListItems    0x0000000000000002    2
EditListItems    0x0000000000000004    4
DeleteListItems    0x0000000000000008    8
ApproveItems    0x0000000000000010    16
OpenItems    0x0000000000000020    32
ViewVersions    0x0000000000000040    64
DeleteVersions    0x0000000000000080    128
CancelCheckout    0x0000000000000100    256
ManagePersonalViews    0x0000000000000200    512
ManageLists    0x0000000000000800    2048
ViewFormPages    0x0000000000001000    4096

 

Web level permission          
Open    0x0000000000010000    65536
ViewPages    0x0000000000020000    131072
AddAndCustomizePages    0x0000000000040000    262144
ApplyThemeAndBorder    0x0000000000080000    524288
ApplyStyleSheets    0x0000000000100000    1048576
ViewUsageData    0x0000000000200000    2097152
CreateSSCSite    0x0000000000400000    4194314
ManageSubwebs    0x0000000000800000    8388608
CreateGroups    0x0000000001000000    16777216
ManagePermissions    0x0000000002000000    33554432
BrowseDirectories    0x0000000004000000    67108864
BrowseUserInfo    0x0000000008000000    134217728
AddDelPrivateWebParts    0x0000000010000000    268435456
UpdatePersonalWebParts    0x0000000020000000    536870912
ManageWeb    0x0000000040000000    1073741824
UseRemoteAPIs    0x0000002000000000    137438953472
ManageAlerts    0x0000004000000000    274877906944
CreateAlerts    0x0000008000000000    549755813888
EditMyUserInfo    0x0000010000000000    1099511627776

 

Special Permissions          
EnumeratePermissions    0x4000000000000000    4611686018427387904
FullMask    0x7FFFFFFFFFFFFFFF    9223372036854775807
RELATED LINKS

0 replies

Be the first to reply!

Reply