Legacy Dev Forum Posts

 View Only

Sign Up

Add members to Group with CLI

  • 1.  Add members to Group with CLI

    Posted 06-05-2025 18:23

    kbleau | 2022-09-15 12:32:21 UTC | #1

    I'm trying to add members to a group via the CLI, and i keep getting "invalid character '\f' looking for begging of value. I can't seem to find what is wrong with my file that contains the JSON body. Here is a sample of my json file i'm using. Am I missing something? I've tried without the version even though the help says it would ignore it, and I still get the same error. I get the same error on everything I try. Anyone have any luck with this specific CLI command? gc groups members add [groupid] -f jsonfile

    { "memberIds": [ "GUID1", "GUID2" ], "version": 4 }


    charlie.conneely | 2022-09-15 16:21:05 UTC | #2

    Hello,

    This seems to be a bug as I am seeing the same behaviour. We'll assign this to a dev and release a fix asap. Thanks for reporting.

    Regards, Charlie


    VaunMcCarthy | 2022-09-28 06:19:11 UTC | #3

    Any update on this guys?


    charlie.conneely | 2022-09-29 08:56:57 UTC | #4

    The bug fix is awaiting review at the moment. I'll ping you here when it has been released.


    charlie.conneely | 2022-10-04 14:31:49 UTC | #5

    @VaunMcCarthy @kbleau

    Hi all. This issue is corrected on the latest version of the CLI (49.2.0)


    VaunMcCarthy | 2022-10-04 19:21:23 UTC | #6

    Thanks Charlie.


    John_Carnell | 2022-10-04 20:17:49 UTC | #7


    This post was migrated from the old Developer Forum.

    ref: 16297