In SmartLead I want to update a particular email account
I’m able to GET https://server.smartlead.ai/api/v1/email-accounts/
This returns all email account IDs under my SmartLead
However I’m not able to GET https://server.smartlead.ai/api/v1/email-accounts/8806679
Can you please tell me what URL exactly should I GET to return only [email protected]?
This email ID corresponds to the above email account ID
I’m going crazy trying to solve this issue
Spent hours on this with n8n AI, SmartLead Customer Support, ChatGPT, no help
Exactly what I tried too
Throws the base64 error I showed you through a screenshot
Also shared error information with you
I’ve tried every permutation and combination
Finally n8n asked me to check with SmartLead if I have rights to GET/POST that endpoint
On 1 Jun 2025, at 6:04 PM, Smartlead Support [email protected] wrote:
My apology.This is the correct API: curl https://server.smartlead.ai/api/v1/email-accounts/<email_account_id>?api_key=<api_key>
POST
For example:
if email account id is
12345678
if api key is hgjirudhdgs12356489520235POST https://server.smartlead.ai/api/v1/email-accounts/12345678?api_key=hgjirudhdgs12356489520235
I’m pasting the screenshot along with the error information I’m getting.
This is the error I get if I use a specific account ID. Works when I ask to return all.
{
“errorMessage”: “The service was not able to process your request”,
“errorDescription”: “invalid symbol "#" found while decoding base64 sequence”,
“errorDetails”: {
“rawErrorMessage”: [
“500 - "{\"error\":\"invalid symbol \\\"#\\\" found while decoding base64 sequence\"}"”
],
“httpCode”: “500”
},
“n8nDetails”: {
“nodeName”: “HTTP Request”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “1/6/2025, 4:43:54 PM”,
“n8nVersion”: “1.94.1 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: The service was not able to process your request”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:769:15)",
" at processTicksAndRejections (node:internal/process/task_queues:95:5)",
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1185:9)",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1534:27",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2098:11"
]
}
}