# “Argument “content” is null” when pushing groups

**URL:** <https://devforum.okta.com/t/argument-content-is-null-when-pushing-groups/25483>\
**Category:** SCIM\
**Created:** [October 4, 2023, 8:29am UTC](https://devforum.okta.com/t/argument-content-is-null-when-pushing-groups/25483 "2023-10-04T08:29:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan-RF](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dan-RF](https://devforum.okta.com/u/Dan-RF)\
**Post date:** [October 4, 2023, 8:29am UTC](https://devforum.okta.com/t/argument-content-is-null-when-pushing-groups/25483/1 "2023-10-04T08:29:33Z")

</div>

Currently trying to implement SCIM provisioning and I’m getting the following error when pushing groups in the management console:

```auto
Unable to update Group Push mapping target App group test group 0000: 
Error while updating user group membership for group test group 0000: 
argument "content" is null

```

This appears to be the exact same problem as [this thread](https://devforum.okta.com/t/argument-content-is-null-when-pushing-groups/20004), although I’m not entirely sure how the OP managed to fix their problem. I assume the error is caused by a follow-up request by Okta but it sounds like I might not be returning the correct JSON?

My steps are:

- Create a new group in the Okta management console
- Push the group to my test application

I can see the request being made to the Groups/create route in my SCIM server:

```auto
{
    "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:Group"
    ],
    "displayName": "test group 0000",
    "members": []
}

```

and the response being returned:

```auto
{
    "members": [],
    "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:Group"
    ],
    "displayName": "test group 0000",
    "id": "a2dfb9ba-3d8f-4ba9-ad6f-b7253c1ee123",
    "meta": {
        "resourceType": "Group"
    }
}

```

This sems to be in line with the [Okta SCIM documentation](https://developer.okta.com/docs/reference/scim/scim-20/#create-groups). Note that the group appears to be successfully created.

Does anyone have any idea what I might be doing wrong?

---

<div class="post-metadata">

**Author:** ![Dan-RF](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dan-RF](https://devforum.okta.com/u/Dan-RF)\
**Post date:** [October 4, 2023, 9:49am UTC](https://devforum.okta.com/t/argument-content-is-null-when-pushing-groups/25483/2 "2023-10-04T09:49:57Z")

</div>

Fixed. For anyone with the same problem: Even though you return a Group object from the create request, Okta will make a follow up GET request to your SCIM server to Groups/{groupId}. Make sure this route is actually returning data and externally accessible! 🤦

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [October 5, 2023, 9:50am UTC](https://devforum.okta.com/t/argument-content-is-null-when-pushing-groups/25483/3 "2023-10-05T09:50:24Z")

</div>

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