Test draft connector settings without saving them. GitLab tests check connectivity, resolve group filters from a sample (a group/* filter reads the group and the first 100 groups under it), and probe member access for at most three groups. A successful test does not guarantee member access to every group. Sync reads every group. A test that runs out of time answers 504 connector.test_timed_out. Empty GitLab.com filters discover at most 500 membership groups. Larger scopes require explicit filters such as group/subgroup/. GitHub tests verify the token, resolve organization and team paths (org, org/team, org/team/) and probe member access for at most three resolved groups. Empty filters discover at most 500 organizations and teams of the token owner.
Request body application/json · TestConnectorRequest
Draft connector settings to test
Provider settings. GitLab and GitHub use canonical names: base_url, groups, excluded_group_suffixes, page_size, root_ca and insecure_skip_verify (GitLab: a PEM CA certificate of a self-managed server and whether to accept any server certificate. Changing either needs a new token), include_outside_collaborators and sync_bot_and_service_accounts (GitHub). Old names (url, baseUrl, api_url, group, pageSize, excludedGroups, excluded_groups, exclude_group_suffixes, includeOutsideCollaborators, syncBotAndServiceAccounts) are deprecated and accepted until 2027-01-01: they are read under the canonical names, and names of one setting with different values are rejected with 400. LDAP uses url (ldap:// or ldaps://), start_tls, insecure_skip_verify, root_ca, directory_type (active_directory or openldap), bind_dn, user_base_dn, user_filter, group_base_dn, group_filter, groups and excluded_group_suffixes. Its credential is bind_password.
gitlabgooglegithubldapResponses
Test result
TestConnectorResponse · 3 fields
Principal access denied, or upstream.authorization_failed when the provider denies its configured credentials
GitLab membership groups or GitHub organizations unavailable, or auto-discovery limit exceeded
Provider quota or rate limit exceeded (request.rate_limited)
Common errors: 400 401 404 409 413 503 504. They mean the same for every operation, see Errors.