https://linen.dev logo
Googledrive folder search stopped working
# 🖥│support-forum
s
Hi, We are trying to fetch folders from the googledrive and to fetch that data we were hitting this curl. curl --location 'https://backend.composio.dev/api/v3/tools/execute/GOOGLEDRIVE_LIST_FILES' \ --header 'x-api-key: *******' \ --header 'Content-Type: application/json' \ --data '{ "connected_account_id": "ca_uX0e2DZy****", "user_id": "7061efd2-0b54-466a-a75c-1c139d15****", "text":"get me all folders and its structure, like which folder is in which folder" }' It was working fine till yesterday. But now getting this error. { "error": { "message": "Client error with internal service (POST): Bad Gateway", "code": 1601, "slug": "Thermos_InternalServerError", "status": 500, "request_id": "e8d2068b-9943-4fe9-9587-354df52eaec1", "suggested_fix": "" } } can you please look into this.
u
Hey @snigdha, looks like you've missed using
arguments
in your request body? Could you try adding it and lmk if it's working for you? Example cURL:
Copy code
curl -X POST "https://backend.composio.dev/api/v3/tools/execute/GOOGLEDRIVE_LIST_FILES" \
  -H "x-api-key: <api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "connected_account_id": "ca_xxxx",
    "user_id": "pg-test-xxx",
    "version": "latest",
    "arguments": {}
  }'