Skip to content

[Bug]: Firmao connector ignores subdomain / organization id when constructing API endpoint #3690

Description

SDK Language

TypeScript / Node.js SDK (@composio/core)

SDK Version

@composio/core@0.10.0

Runtime Environment

Node.js, macOS

Environment

Local Development

Describe the Bug

The Firmao connector asks for authentication details:

  • subdomain: the unique Firmao organization identifier
  • basic_encoded: Base64-encoded username:password for Basic Auth

However, when executing Firmao tools, Composio appears to construct the Firmao API endpoint without the subdomain / organization id.

Firmao API requires endpoints in this format:

https://system.firmao.pl/{subdomain}/svc/v1/{object}

Steps to Reproduce

1. Create/connect a Firmao account in Composio.
2. Provide valid Firmao auth details:
   - `subdomain`: valid Firmao organization id from the URL
   - `basic_encoded`: Base64 of `api_login:api_password`
3. Execute a Firmao tool, for example `FIRMAO_LIST_TASKS`.
4. Observe that the request fails / does not return expected data.
5. Compare with direct Firmao API request using the same credentials and the correct URL containing `{subdomain}`.

### Minimal Reproducible Example

```shell
import { Composio } from "@composio/core";

const composio = new Composio({
  apiKey: process.env.COMPOSIO_API_KEY!,
});

const result = await composio.tools.execute("FIRMAO_LIST_TASKS", {
  userId: "USER_WITH_FIRMAO_CONNECTION",
  arguments: {
    start: 0,
    limit: 10,
  },
});

console.log(result);

Error Output / Stack Trace

Firmao tool execution fails because the generated endpoint does not include the Firmao organization id / subdomain.

Expected endpoint:
https://system.firmao.pl/{subdomain}/svc/v1/tasks

Actual behavior appears to omit `{subdomain}` from the constructed URL.

Reproducibility

  • Always reproducible
  • Intermittent / Sometimes
  • Happened once, can’t reproduce

Additional Context or Screenshots

Firmao's official API documentation states that all API calls must use this URL format:

https://system.firmao.pl/{org_id}/svc/v1/{xxx}

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportNeeds support team follow-up

    Type

    No type

    Fields

    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