1.0 API endpoint error out while updating user group with large group name.

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

Users could face issues with larger group names using the 1.0 API endpoint to add the user into a group.

Endpoint:

  • /1.0/groups/{accountname}/{group_slug}/members

Cause

When the group name is larger than 62 characters, the user-group slug will be limited by 62 characters. The group slug can be found by accessing the user-group page on Bitbucket UI.

This error happens because the API endpoint expects the group slug, not the group name.

Error message:

1 "404: No Group matches the given query."

Solution

Provide the group slug on the endpoint URL, not the group name.

The group slug can be found by accessing the user-group page on Bitbucket UI.

Updated on April 24, 2025

Still need help?

The Atlassian Community is here for you.