Troubleshoot connector issues
After a STAROps connector is saved, its access status is checked automatically. This topic provides solutions for issues such as a Failed status, a Checking status that does not finish for a long time, permission check failures when you add a connector, and sessions or long-running tasks that report missing permissions. A successful check means the role or credential can access the selected target, not that all permissions required for later queries or management have been granted.
What to check
Open Settings > Connectors, go to the relevant category, and verify the following information for the connector that reports the issue:
Connector name and connector ID
Type (Cloud Monitor 2.0, Simple Log Service, Alibaba Cloud DevOps, GitHub, Alibaba Cloud resources, and others)
Role or credential
Connection target (workspace, Project, organization, repository, or pipeline)
Status text and check details
When a session or task returns an error, also review the permission message in the response. If the status in the connector list or on the details page is Checking, wait for the check to finish or click Refresh Status. If the check fails, the page still shows the information that is currently saved, which helps you identify the values to correct.
Go to the section that matches your symptom:
The connector status is Failed, the permission check fails when you add a connector, or the connection target list is empty — See the section for your connector type: Alibaba Cloud role-based connectors, Alibaba Cloud DevOps connectors, or GitHub connectors. For general steps that apply to all connector types, see The connector status is still Failed.
The connector status is successful, but a session or long-running task reports missing permissions — See No permissions at runtime.
The connector is saved, but the modeling task does not start or you must change the role, region, or connection target — See Common issues after saving.
The connector status is still Failed
Click Refresh Status to update the status. If the permissions or the connection target are no longer valid, delete the connector and add it again by following the relevant guide. To change the role, the region, or the connection target of a saved connector, see Common issues after saving.
No permissions at runtime
A session or long-running task reports missing permissions, but the connector status is successful
When a session, a long-running task, or a RAM permission message reports missing permissions, grant the permissions listed in the message to the role or token that the connector uses. Then retry in the original session or task to verify that the error no longer appears.
Alibaba Cloud role — Add the permissions listed in the message to that role in the RAM console. For more information, see Digital Employee permission configuration.
Alibaba Cloud DevOps or GitHub personal access token (PAT) — Grant the corresponding repository or pipeline permissions where the PAT was issued, and then retry. If the PAT has expired or must be replaced, delete the connector and add it again by following the relevant guide.
Alibaba Cloud role-based connectors
This section applies to the Cloud Monitor 2.0, Simple Log Service, and Alibaba Cloud resources connector types.
The role permission check fails
The Role ARN must be in the acs:ram::{accountId}:role/{roleName} format, and the role must have permissions to access the selected target. After you correct the Role ARN or the role permissions, click Check Permissions again. After the check succeeds, select the connection target.
The connection target list is empty
Verify the region, the role permissions, and whether the region already has a workspace, a Project, or queryable cloud services. If you use a custom role, complete the permission check first. The connection target list then displays the available targets.
A message reports that the workspace is already bound when you save
The Cloud Monitor workspace already has a connector. The connector is not saved. Use the existing connector, or select a workspace that is not bound yet.
A message reports that Alibaba Cloud CLI is not enabled
Resource connections depend on Alibaba Cloud CLI. Configure the CLI execution policy first, and then save the connector or run the check again.
Cross-region or cross-border access fails
If the workspace or Project is in a region other than the Digital Employee storage region, data access involves cross-region or cross-border transfer. Verify that the role has the required permissions in that region.
Alibaba Cloud DevOps connectors
This section applies to Alibaba Cloud DevOps Codeup and Alibaba Cloud DevOps Flow.
Alibaba Cloud DevOps organizations fail to load, or you do not have permission to view organizations
The current Alibaba Cloud account cannot list organizations. Ask the administrator to grant the permissions, and then retry loading the organizations. Region sites also require permissions to view Region organizations.
The PAT is invalid or does not match the dedicated domain of the Region organization
Check whether the PAT has expired and whether it belongs to the selected organization, and verify the dedicated domain of the organization.
The PAT is valid but cannot access the selected organization
Replace the PAT with one issued under that organization.
Connection verification fails
Check the organization domain and the public network access configuration. If the organization requires an IP address whitelist, add the STAROps egress IP addresses to the organization whitelist before you continue.
Repositories or pipelines cannot be read
Grant the corresponding read-only permissions to the PAT, and then click Verify Repository Permissions or Verify Pipeline Permissions again to confirm that the PAT can read the repositories or pipelines.
GitHub connectors
This section applies to GitHub Code and GitHub Actions.
GitHub rejected the PAT
Check the contents and expiration of the PAT, and verify that it has access to the target organization and resources.
Organization membership cannot be read
Verify that the PAT has the read:org permission, or search for the organization manually instead.
The group has no repositories, or the repository has no workflows
Verify the group and repository permissions. For Actions scenarios, click Load Workflows again on the target repository.
Common issues after saving
The connection is saved, but the modeling task fails to start
The connection itself is saved. Keep the connection and continue in the data modeling task. The connection remains valid even when the details page shows No modeling session associated yet.
The role, region, or connection target must be changed
The role, the region, and the connection target cannot be modified after creation. Delete the connector and create it again.
Deletion cannot be undone. If you previously enabled Agentic modeling, you can select Agentic Modeling Cleanup in the deletion confirmation. The cleanup starts another conversation and is billed based on the selected model.