SalesforceLabs / OrgCheck

Org Check is an easy-to-install and easy-to-use Salesforce application in order to quickly analyze your org and its technical debt.
MIT License
126 stars 28 forks source link

We are getting error while clicking on users Tab in Org check -- ERROR_HTTP_400 issue #408

Closed vyerraguntla closed 3 months ago

vyerraguntla commented 4 months ago

We are getting below error when we click on Users Tab in Org check with error as Access Denied. Error stack is mentioned below

I To Reproduce ssue #0: ERROR_HTTP_400 When: While creating a promise to call a SOQL query. What: index: 0 queryMore: undefined queryString: SELECT Id, Name, SmallPhotoUrl, Profile.Id, Profile.Name, LastLoginDate, LastPasswordChangeDate, NumberOfFailedLogins, UserPreferencesLightningExperiencePreferred, (SELECT PermissionSet.Id, PermissionSet.Name, PermissionSet.PermissionsApiEnabled, PermissionSet.PermissionsViewSetup, PermissionSet.PermissionsModifyAllData, PermissionSet.PermissionsViewAllData, PermissionSet.IsOwnedByProfile FROM PermissionSetAssignments ORDER BY PermissionSet.Name) FROM User WHERE Profile.Id != NULL AND IsActive = true queryUseTooling: undefined Stack: ERROR_HTTP_400: Access Declined at r.getError (/resource/1714768175000/orgcheckOrgCheck_SR/js/jsforce.js:1:72641) at /resource/1714768175000/orgcheck__OrgCheck_SR/js/jsforce.js:1:71009 at /resource/1714768175000/orgcheckOrgCheck_SR/js/jsforce.js:1:229493 at /resource/1714768175000/orgcheck__OrgCheck_SR/js/jsforce.js:1:229521 at MutationObserver.o (/resource/1714768175000/orgcheck__OrgCheck_SR/js/jsforce.js:1:104504)

VinceFINET commented 4 months ago

Some questions:

vyerraguntla commented 4 months ago

Hi Vincent,

Please let me know if any further information is needed .

Regards, Varun Kumar Sr. Proactive Monitoring Engineer | Salesforce

https://smart.salesforce.com/sig/vyerraguntla//us_mb/default/link.html

On Wed, May 15, 2024 at 12:57 PM Vincent FINET @.***> wrote:

Some questions:

  • is this error only appear for this tab?
  • how many active users do you have in this org?
  • are they assigned to multiple permission sets? What is the avg / min / max number of perm sets assigned to active users?

— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/OrgCheck/issues/408#issuecomment-2111776760, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIKFXYLSGHGWU5M2Z7YIQG3ZCME4FAVCNFSM6AAAAABHW5YBKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJRG43TMNZWGA . You are receiving this because you authored the thread.Message ID: @.***>

vyerraguntla commented 4 months ago

Hi Vincent,

Could you please confirm if we have any update on the same

Regards, Varun Kumar Proactive Monitoring Engineer | Salesforce

https://smart.salesforce.com/sig/vyerraguntla//us_mb/default/link.html

On Wed, May 15, 2024 at 6:12 PM Varun Kumar Yerraguntla < @.***> wrote:

Hi Vincent,

  • is this error only appearing for this tab?- This is happening for the tab USERS
  • is this error only appearing for this tab? There are around 2000 active users in the org
  • are they assigned to multiple permission sets? What is the avg / min /- On average each user is having around 50+ permissions assigned .

Please let me know if any further information is needed .

Regards, Varun Kumar Sr. Proactive Monitoring Engineer | Salesforce

https://smart.salesforce.com/sig/vyerraguntla//us_mb/default/link.html

On Wed, May 15, 2024 at 12:57 PM Vincent FINET @.***> wrote:

Some questions:

  • is this error only appear for this tab?
  • how many active users do you have in this org?
  • are they assigned to multiple permission sets? What is the avg / min / max number of perm sets assigned to active users?

— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/OrgCheck/issues/408#issuecomment-2111776760, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIKFXYLSGHGWU5M2Z7YIQG3ZCME4FAVCNFSM6AAAAABHW5YBKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJRG43TMNZWGA . You are receiving this because you authored the thread.Message ID: @.***>

VinceFINET commented 4 months ago

Hello

Could you run the queries i mentioned in issue #413 and put the results here? Thank you

VinceFINET commented 3 months ago

some update @vyerraguntla by any chance?

vyerraguntla commented 3 months ago

Thank you Vincent. My apologies, I forgot this. We have ran some SOQL queries which resolved the issue. Regards, Varun Kumar Proactive Monitoring Engineer | Salesforce

https://smart.salesforce.com/sig/vyerraguntla//us_mb/default/link.html

On Sat, Jun 22, 2024 at 2:21 AM Vincent FINET @.***> wrote:

some update @vyerraguntla https://github.com/vyerraguntla by any chance?

— Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/OrgCheck/issues/408#issuecomment-2183439198, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIKFXYN5B5RV5Q7REA233BLZISG4ZAVCNFSM6AAAAABHW5YBKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTGQZTSMJZHA . You are receiving this because you were mentioned.Message ID: @.***>