Yesterday I created a new group in SonarCloud. Today it turned out we don’t actually need a group with this permission set and I tried to delete it. When I try to do so or for that matter remove or add anyone to any group, I just get a notification saying: “The combination group name and organization key or group id must be provided”
I haven’t changed anything since yesterday and I can still adjust group and user permissions. Any ideas why this is happening?
The combination group name and organization key or group id must be provided
And the issue is with using the Web API (not the UI, which was the problem yesterday).
So, I think this might be a separate issue. I’m just making sure right now that it’s not a continuation of yesterday’s incident. Was the script working before yesterday but not today? Or is this a new script you’re writing?
On my side, the endpoint is working as expected, although I’m using form-data instead of passing a raw JSON body (I don’t think that’s supported).
Thanks for checking @Colin. That was a new script I started a few hours ago.
And not sending JSON indeed fixes it for me (too). So my problwm was a case of me mistaking the same-ish error message.
Would it be possible to improve the error message from the API when sending unexpected/unsupported content type?
That’s an interesting idea I’ll pass along. Admittedly, the error message of “The organization parameter is missing” makes it sound like other parameters aren’t missing, so I get the confusion.