https://linen.dev logo
returns an empty list (total_items: 0)
# 🖥│support-forum
s
When we call composio_client.toolkits.list() using our API key, the call succeeds with a 200 OK, but it returns an empty list (total_items: 0). What we have confirmed: We have generated a new API key (ak_n9naue27z5hTld_MMj8d) directly from our "Default" project settings. We have confirmed this key is correctly configured in our application. We can successfully perform other API calls, such as connected_accounts.create(). However, the specific toolkits.list() call consistently returns an empty list. This is blocking all of our development, as we cannot build our dynamic marketplace. It appears our project (Project ID: 2m1waPy4U7CZ) may not have the correct permissions or feature flags enabled to list the available toolkits. Could you please investigate on your end why toolkits.list() is returning an empty set for our project? Here is our debugging information: {"timestamp": "2025-09-07 16:41:01", "level": "ERROR", "name": "marketing_agent_logger.app.routers.mcp_gateway", "message": "Failed to build dynamic marketplace list: 503: Could not retrieve app marketplace from provider. Please try again later.", "module": "mcp_gateway", "function": "list_marketplace_tools", "line": 163, "pathname": "/app/app/routers/mcp_gateway.py", "process": 8, "thread": "AnyIO worker thread", "exception": "Traceback (most recent call last):\n File \"/app/app/routers/mcp_gateway.py\", line 129, in list_marketplace_tools\n raise HTTPException(status_code=503, detail=\"Could not retrieve app marketplace from provider. Please try again later.\")\nfastapi.exceptions.HTTPException: 503: Could not retrieve app marketplace from provider. Please try again later."} INFO: 192.168.65.1:21530 - "GET /mcp-gateway/connections/ HTTP/1.1" 500 Internal Server Error
a
Hey, We just tested it, and it seems to be working fine on our end, could you re-check your code once? here's the code for ref:
Copy code
from composio_client import Composio
client = Composio(
    api_key="{{composio-api-key}}",
)
res = client.toolkits.list()
print(res)
version:
Copy code
Name: composio-client
Version: 1.6.0
s
We are using our new official API key and it is authenticating successfully (we are no longer getting a 401 error). However, when our application calls composio_client.toolkits.list(), the API call succeeds but returns an empty list (total_items: 0). This is blocking our development. It appears our project does not have the necessary permissions to list the available toolkits. Could you please investigate on your end and enable this feature for us? Project ID: (Find this in your Composio dashboard under Settings) Org ID: (Also available in the dashboard)
a
there's no project level restrction