teamviewer.com link icon
or
Ask The Community

Do you want to enjoy the new TeamViewer user interface for Windows?


Download the new version and let us know what you think about it! 👉 Please click here 👈

Why do I get "error": "internal_error",

JacobSM
JacobSM Posts: 1 Newbie
edited October 8 in API and scripting

Hi

I am trying to unshare by api.

"https://webapi.teamviewer.com/api/v1/groups/gXXXXXXX/unshare_group"

{

    "users":

    [

        "uXXXXXXXX"

    ]

}


For some groups I get this error.

{

    "error": "internal_error",

    "error_description": "Invalid argument.",

    "error_code": 3

}


After some trial and error it looks like the problem only occur if list of users contains the userId of the user that has created the apikey ??

Br. Jacob