Trying to block a group via the website, but doesn't work

{"error":{"message":"You must leave a group before blocking it․","status_code":403}}