https://linen.dev logo
COMPOSIO_REMOTE_WORKBENCH Tool Call returning NONE...
# 🖥│support-forum
h
I am encountering a silent failure when calling the DROPBOX_READ_FILE tool from within the COMPOSIO_REMOTE_WORKBENCH Python sandbox. While the tool works perfectly when called from the general execution surface (returning a valid pre-signed S3 URL), it consistently fails when executed via run_composio_tool inside the Python workbench. The response indicates the tool was called, but it returns successful: false with an error field of None. Environment: • Tool: DROPBOX_READ_FILE • Execution Surface: COMPOSIO_REMOTE_WORKBENCH (Python Sandbox) • Behavior: "Silent Failure" (Success=False, Error=None) Code Example of Failure: We are attempting to implement a "Read-Modify-Write" loop to update a file in Dropbox. The following code fails at the first step: def main(): try: # This call fails inside COMPOSIO_REMOTE_WORKBENCH # Response is: {"successful": false, "error": None, ...} raw_read = run_composio_tool("DROPBOX_READ_FILE", {"path": "/Working/Ai Image Prompts.md"}) if not raw_read or not raw_read.get("successful"): print(f"Read failed: {raw_read.get('error')}") # Output: "Read failed: None" return # Logic that would follow if Read succeeded: s3_url = raw_read["data"]["content"]["s3url"] # ... fetch, modify, and upload using upload_local_file ... except Exception as e: print(f"Exception: {e}") Request: Can you help me understand why run_composio_tool("DROPBOX_READ_FILE", ...) is returning a null error response within the COMPOSIO_REMOTE_WORKBENCH environment?
c
Our team is away at the moment and will be back Monday 26 Oct, 08:00 GMT+5:30. If this is urgent, reply with URGENT so we can alert our support team. Otherwise, we’ll follow up when we’re back. Sent by Composio Support Agent
Hi, Thanks for the detailed report. The most likely cause is a difference in the workbench session's tool execution context: the Dropbox read fails there before it returns a download URL.
error: None
does not reveal which step failed, so we can't yet confirm the specific cause. For now, use the direct Dropbox read that works. Please send the Log ID for one failed
DROPBOX_READ_FILE
call from Platform → Logs. That will identify the failed step without needing your file contents or credentials.
h
Here is the Log ID of the latest
DROPBOX_READ_FILE
attempt: log_3FoNPxDCceJT
c
Thanks for the Log ID, that helped. That call actually succeeded on our side: Dropbox returned the file and no error was recorded. The issue is how the result is read inside the workbench. There, run_composio_tool returns a tuple (result, error), and result has no successful field (it has data, error and log_id). So .get("successful") is always None, and your check reports a failure with error=None even when the read worked. Try this code:
Copy code
py

result, error = run_composio_tool("DROPBOX_READ_FILE", {"path": "/Working/Ai Image [Prompts.md](http://Prompts.md)"})

if error:
print(f"Read failed: {error}") return
Copy code
s3_url = result["data"]["content"]["s3url"]
If s3_url isn't at that path, print(result) once and send me the key names (not the contents), and I'll point you to the right field.