Unable to access SmartLead email account ID on N8N via GET/POST

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 hgjirudhdgs12356489520235

POST 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.

image0.png

{

“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"

]

}

}

Hey Aakshey,
Abhishek here from the Sl team.
By the look of it you have done things correctly.
Can you help me with the ticket raised by you details please ?
I think we will need engineering intervention to get this resolved. Happy to take it up and get this resolved for you.

1 Like

Thank you so much for the prompt response @Abhishek_Ajith

I have a common ticket with over a dozen queries regarding different non technical things, with SmartLead. All have been resolved except for this technical one that’s at the bottom of the ticket page. Here’s the link:

My email ID is [email protected], also [email protected]

Ticket number 226736

Thank you so much in advance

Noted. Let me get this picked up. Thank you for your patience !

Thank you so much, I’ll be waiting.

No progress yet @Abhishek_Ajith

@Abhishek_Ajith

Yes, this has been fixed by the SL tech team. Thank you so much.

@Abhishek_Ajith only GET is working, POST again throws the same error.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.