Detailed report API - Error 400 - Bad Request

Bad request - please check your parameters [item 0]
400 Bad Request Error: Bad Request Your client has issued a malformed or illegal request.

I’m using n8n, calling the API with HTTP request node.

I tried the community note with n8n integrated token authentication and API https://api.track.toggl.com/api/v9/me/time_entries
It worked

Then I tried in the same way the HTTP Request note to call the same API, it worked putting start_date and end_date in the header.

This told me that the way n8n authenticates with Toggl Track API is OK.
I’m also sure the time formatting is OK.

The detailed report API https://api.track.toggl.com/reports/api/v3/workspace/{workspace_id}/search/time_entries

gives error 400 putting start_date and end_date in the body.
gives erro 405 putting start_date and end_date in the header.

This is the detailed error
{
“errorMessage”: “Bad request - please check your parameters”,
“errorDescription”: “\n\n\n400 Bad Request\n\n\nError: Bad Request\nYour client has issued a malformed or illegal request.\n\n\n”,
“errorDetails”: {
“rawErrorMessage”: [
“400 - “\n\n<meta http-equiv=\“content-type\” content=\“text/html;charset=utf-8\”>\n400 Bad Request\n\n\nError: Bad Request\nYour client has issued a malformed or illegal request.\n\n\n””
],
“httpCode”: “400”
},
“n8nDetails”: {
“nodeName”: “Toggl detailed report”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “11/18/2025, 8:56:26 AM”,
“n8nVersion”: “1.115.3 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: Bad request - please check your parameters”,
" at ExecuteContext.requestWithAuthentication (/usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1472:10)“,
" at processTicksAndRejections (node:internal/process/task_queues:105:5)”,
" at ExecuteContext.requestWithAuthentication (/usr/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1758:11)"
]
}
}

Hey @scintillasrls
Here’s the endpoint documentation for now Detailed reports | Toggl Engineering

Can you please share the body of the failing request?
Thanks!

This is the entire request:

Thanks

Thanks for that! We’ll check on this with our team.

solved! I were wrong calling GET instead of POST!

1 Like

Ahhh good eye :grinning_face_with_smiling_eyes: Thank you for the catch!