Can't add a member when using the public Api endpoint that is supposed to take care of that

Hi,

I’ve been trying to use the /public/members api endpoint, with of couse a valid bearerToken that was generated with the identity endpoint.

It works correctly when making a GET on /public/members , listing everyone in my organization, and when using DELETE on /public/members/someone_s_uuid where is correctly deleted, but as soon as i try to use the POST on that endpoint to add a new user (i still have available seats, and i can add users from admin console) i run into troubles.

Here is an example of a request i’m sending (censured for email of course) :

{
    "type": 2,
    "email": "[email protected]",
    "resetPasswordEnrolled": true,
    "accessAll": true
}

According to the swagger that is all that is needed for the endpoint to work (speaking of which there’s no place where the type is matched to its wording equivalent to know which value is which) but this is what i’m thrown at :

{
    "object": "error",
    "message": "Errors have occurred.",
    "errors": {
        "An error has occurred.": [
            "Value cannot be null. (Parameter 'source')"
        ]
    }
}

Did anyone get this problem already ? I can’t figure it out, i’ve been trying several things for the last couple hours but i’m in a dead end for now.