Aha, thanks! Looks better and tried a few variations but now get “Your request is invalid or could not be processed by the service”. Any ideas?
**
{
“errorMessage”: “Your request is invalid or could not be processed by the service”,
“errorDetails”: {},
“n8nDetails”: {
“time”: “18/07/2025, 18:20:07”,
“n8nVersion”: “1.97.1 (Self Hosted)”,
“binaryDataMode”: “default”,
“cause”: {
“message”: “Your request is invalid or could not be processed by the service”,
“timestamp”: 1752859207444,
“name”: “NodeApiError”,
“description”: “Input should be a valid dictionary or object to extract fields from”,
“context”: {
“request”: {
“body”: “{\n "query": Uptempo company run by Scott Ernst official website and background,\n "search_depth": "basic",\n "include_answer": true,\n "include_images": false,\n "include_raw_content": false\n}”,
“headers”: {
“content-type”: “application/json”,
“authorization”: “hidden”,
“accept”: “application/json,text/html,application/xhtml+xml,application/xml,text/;q=0.9, image/;q=0.8, /;q=0.7”
},
“method”: “POST”,
“uri”: https://api.tavily.com/search,
“gzip”: true,
“rejectUnauthorized”: true,
“followRedirect”: true,
“resolveWithFullResponse”: true,
“followAllRedirects”: true,
“timeout”: 300000,
“qs”: {
“query”: “Uptempo company run by Scott Ernst official website and background”
},
“encoding”: null,
“json”: false,
“useStream”: true
}
},
“cause”: {
“message”: “422 - "{\"detail\":[{\"type\":\"model_attributes_type\",\"loc\":[\"body\"],\"msg\":\"Input should be a valid dictionary or object to extract fields from\",\"input\":\"{\\n \\\"query\\\": Uptempo company run by Scott Ernst official website and background,\\n \\\"search_depth\\\": \\\"basic\\\",\\n \\\"include_answer\\\": true,\\n \\\"include_images\\\": false,\\n \\\"include_raw_content\\\": false\\n}\"}]}"”,
“name”: “AxiosError”,
“stack”: “AxiosError: Request failed with status code 422\n at settle ([/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/settle.js:19:12)\n](mailto:/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/ax[…LINKS…]”,
“code”: “ERR_BAD_REQUEST”,
“status”: 422
}
}
}
}