Skip to content

[bug] Bitbucket cloud failed to get repos #295

@WendelBartzUbots

Description

@WendelBartzUbots

Describe the bug

[backend] | 2025-05-07T14:33:55.882Z error: [Bitbucket] Failed to get repos for workspace *****: Error: Failed to fetch projects for workspace *****: {"type":"error","error":{"message":"Resource not found","detail":"There is no API hosted at this URL.\n\nFor information about our API's, please refer to the documentation at: https://developer.atlassian.com/bitbucket/api/2/reference/"}}

[backend] | 2025-05-07T14:33:55.883Z error: [ConnectionManager] Failed to compile repo data for connection 1 (starter-connection): Error: Failed to fetch projects for workspace *****: {"type":"error","error":{"message":"Resource not found","detail":"There is no API hosted at this URL.\n\nFor information about our API's, please refer to the documentation at: https://developer.atlassian.com/bitbucket/api/2/reference/"}}

To reproduce

This is my config:

{
    "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/schemas/v3/index.json",
    "connections": {
        "starter-connection": {
            "type": "bitbucket",
            "deploymentType": "cloud",
            "user": "*****",
            "token": {
                "env": "BITBUCKET_TOKEN"
            },
            "workspaces": [
              "*****"
            ]
        }
    }
}

Sourcebot deployment information

Sourcebot version (e.g. v3.0.1): ghcr.io/sourcebot-dev/sourcebot:main

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions