-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "sfdc.messaging.MessagingException: java.lang.IllegalStateException" when deploying Permission Set Group (Winter '24) #2430
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Same issue here. |
+1 |
I don't know if this is helpful but if the permission set group has only a few permissions it does work. The magic number appears to be 16 or fewer - maybe because 16 x 15 (length of id) + 15 commas as separators is just under 255 |
Same issue here |
I just tried it with a sandbox that has the Winter ‘24 release but I’m still getting the error. I got this response from Salesforce:
|
I've opened a case regarding this matter (Case ID: 45245575). The same issue is being discussed on Reddit. This isn't related to |
Thanks for reporting. This is a server side error and must be fixed there. A short-term workaround would be to make multiple deploys of those permission set groups. I'll close this issue as the problem is server side. |
Just a quick heads up:
|
The patch appears to have fixed the issue for my orgs as of 7 September 2023. |
Summary
We're facing an error when deploying Permission Set Groups on Scratch Orgs (Winter'24 only) : "sfdc.messaging.MessagingException: java.lang.IllegalStateException: Value 0PS9Q000000t0U5,0PS9Q000000t0U7,[...]" exceeds maximum length (255)
Steps To Reproduce
Private repo but :
Expected result
The Permission Set Group is deployed
Actual result
The Permission Set Group isn't inserted, we get an error message.
System Information
Terminal : cmd.exe
Full Output :
Additional information
The text was updated successfully, but these errors were encountered: