Legacy Dev Forum Posts

 View Only

Sign Up

Illegal value for field: individuals, Reason: Length must be between 1 and 50.]",

  • 1.  Illegal value for field: individuals, Reason: Length must be between 1 and 50.]",

    Posted 06-05-2025 18:23

    VaunMcCarthy | 2022-09-28 06:45:55 UTC | #1

    Trying to add members to a group using the API and getting the error in the subject.

    Seems to be telling me that I have too many members I'm trying to add. Is that correct? Where can I see what the limit is? I'm trying to add 500 :slight_smile:


    tim.smith | 2022-09-28 13:29:53 UTC | #2

    Those type of limits often aren't documented but will trigger an error if you exceed the limit for the request. In this case, it sounds like it returned an error indicating that the max is 50 in one request.


    VaunMcCarthy | 2022-09-28 20:21:23 UTC | #3

    Thanks Tim, do you know if this is one of those limits that we can request Care to increase at an org level?


    tim.smith | 2022-09-28 20:44:57 UTC | #4

    I don't believe so. The only adjustable limits are the ones documented on the limits page, but I don't see one that would apply to this case. My answer isn't the final word though, so it wouldn't hurt to open a case and ask.


    VaunMcCarthy | 2022-09-28 20:51:06 UTC | #5

    Thanks. I've tried doing this via CLI in a for-each but as per the thread on the CLI forum there's a defect there.


    system | 2022-10-29 20:51:50 UTC | #6

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 16480