Describe the issue/error/question
I use N8N and the DeepL node to ingest a RSS feed with near live Telegram Posts
it’s my 5 month old project to translate & make accessible the War in Ukraine.
RSS Source if you want to test with live data :
Is it because of the original Russian or Ukrainian characters, or maybe the emoji’s ?
I’m not sure because overall all of my posts do get posted on wordpress, even tho instead of running for a few minutes, the time it takes for the exact same data to go Discord, Telegram or else, on Wordpress it can take up to 20 minutes to run the workflow and if I retry, it only gets worse, it seems also to me that the latest upgrade may have made this severe because i’m definitely seeing a difference with the last two minor versions, while 3 months ago it felt like Wordpress publishing was as fast as the others? it’s probably my own bias deteriorating my perception since I’ve tried different things to solve this but to no avail, it seems random but I don’t see any difference with JSON objects that do get published.
Or perhaps it’s the worpress having +200K posts since 5 month ?
to resume: the exact same data structure and JSON objects get posted to Telegram or Discord just fine
What is the error message (if any)?
Jul 24 19:03:28 2022-07-24T17:03:28.701Z | verbose | Workflow execution finished with error "{\n error: {\n message: 'Unexpected end of JSON input',\n stack: 'SyntaxError: Unexpected end of JSON input\\n' +\n ' at JSON.parse (<anonymous>)\\n' +\n ' at Object.execute (/app/code/node_modules/n8n-nodes-base/dist/nodes/StopAndError/StopAndError.node.js:91:38)\\n' +\n ' at Workflow.runNode (/app/code/node_modules/n8n-workflow/dist/src/Workflow.js:594:51)\\n' +\n ' at /app/code/node_modules/n8n-core/dist/src/WorkflowExecute.js:557:68\\n' +\n ' at processTicksAndRejections (node:internal/process/task_queues:96:5)'\n },\n workflowId: '74',\n file: 'WorkflowExecute.js',\n function: 'processSuccessExecution'\n}"
Please share the workflow
The workflow is super simple, I just use a merge to have the original data in full along with the translation so I can “compose” my wordpress post fields with all the different JSON items, it works great most of the time : https://ruprop.live | https://amplifyrukaine.eu and with plenty of flags or smileys and cyrilc characters, I’m lost on what provoques this error.
Share the output returned by the last node
[
{
"id": 460620,
"date": "2022-07-24T19:02:34",
"date_gmt": "2022-07-24T17:02:34",
"guid": {
"rendered": "https://ruprop.live/the-ministry-of-foreign-affairs-of-canada-stated-that-it-was-aware-of-the-death-of-a-canadian-in-ukraine-earlier-the-politico-newspaper-reported-that-a-group-of-mercenaries-consisting-of-two-me-3/",
"raw": "https://ruprop.live/the-ministry-of-foreign-affairs-of-canada-stated-that-it-was-aware-of-the-death-of-a-canadian-in-ukraine-earlier-the-politico-newspaper-reported-that-a-group-of-mercenaries-consisting-of-two-me-3/"
},
"modified": "2022-07-24T19:02:34",
"modified_gmt": "2022-07-24T17:02:34",
"password": "",
"slug": "the-ministry-of-foreign-affairs-of-canada-stated-that-it-was-aware-of-the-death-of-a-canadian-in-ukraine-earlier-the-politico-newspaper-reported-that-a-group-of-mercenaries-consisting-of-two-me-3",
"status": "publish",
"type": "post",
"link": "https://ruprop.live/the-ministry-of-foreign-affairs-of-canada-stated-that-it-was-aware-of-the-death-of-a-canadian-in-ukraine-earlier-the-politico-newspaper-reported-that-a-group-of-mercenaries-consisting-of-two-me-3/",
"title": {
"raw": "The Ministry of Foreign Affairs of Canada stated that it was aware of the death of a Canadian in Ukraine. \n \nEarlier, the Politico newspaper reported that a group of mercenaries consisting of two me - Повёрнутые на Z войне 🇷🇺",
"rendered": "The Ministry of Foreign Affairs of Canada stated that it was aware of the death of a Canadian in Ukraine. \n \nEarlier, the Politico newspaper reported that a group of mercenaries consisting of two me – Повёрнутые на Z войне 🇷🇺"
},
"content": {
"raw": "TRANSLATION :\nThe Ministry of Foreign Affairs of Canada stated that it was aware of the death of a Canadian in Ukraine. \n \nEarlier, the Politico newspaper reported that a group of mercenaries consisting of two men from the US, a Canadian and a Swedish citizen who had been fighting in Ukraine on Kiev's side were killed this week.\nSource : Повёрнутые на Z войне 🇷🇺\nLink : https://t.me/voenacher/25670\nDate : 2022-07-24T16:50:08.000Z\nORIGINAL :\n<br /><strong>Министерство иностранных дел Канады заявило, что ему известно о гибели канадца на Украине</strong>.<br /> \n<br /> \nРанее газета Politico сообщила, что группа наемников в составе двух человек из США, канадца и гражданина Швеции, воевавших на Украине на стороне Киева, были уничтожены на текущей неделе.",
"rendered": "<p>TRANSLATION :<br />\nThe Ministry of Foreign Affairs of Canada stated that it was aware of the death of a Canadian in Ukraine. </p>\n<p>Earlier, the Politico newspaper reported that a group of mercenaries consisting of two men from the US, a Canadian and a Swedish citizen who had been fighting in Ukraine on Kiev’s side were killed this week.<br />\nSource : Повёрнутые на Z войне 🇷🇺<br />\nLink : <a href=\"https://t.me/voenacher/25670\" rel=\"nofollow\">https://t.me/voenacher/25670</a><br />\nDate : 2022-07-24T16:50:08.000Z<br />\nORIGINAL :<br />\n<br /><strong>Министерство иностранных дел Канады заявило, что ему известно о гибели канадца на Украине</strong>.</p>\n<p>Ранее газета Politico сообщила, что группа наемников в составе двух человек из США, канадца и гражданина Швеции, воевавших на Украине на стороне Киева, были уничтожены на текущей неделе.</p>\n",
"protected": false,
"block_version": 0
},
"excerpt": {
"raw": "",
"rendered": "<p>TRANSLATION : The Ministry of Foreign Affairs of Canada stated that it was aware of the death of a Canadian in Ukraine. Earlier, the Politico newspaper reported that a group of mercenaries consisting of two men from the US, a Canadian and a Swedish citizen who had been fighting in Ukraine on Kiev’s side were […]</p>\n",
"protected": false
},
"author": 1,
"featured_media": 0,
"comment_status": "open",
"ping_status": "open",
"sticky": false,
"template": "",
"format": "standard",
"meta": [],
"categories": [
48
],
"tags": [],
"permalink_template": "https://ruprop.live/%postname%/",
"generated_slug": "the-ministry-of-foreign-affairs-of-canada-stated-that-it-was-aware-of-the-death-of-a-canadian-in-ukraine-earlier-the-politico-newspaper-reported-that-a-group-of-mercenaries-consisting-of-two-me-3",
"_links": {
"self": [
{
"href": "https://ruprop.live/wp-json/wp/v2/posts/460620"
}
],
"collection": [
{
"href": "https://ruprop.live/wp-json/wp/v2/posts"
}
],
"about": [
{
"href": "https://ruprop.live/wp-json/wp/v2/types/post"
}
],
"author": [
{
"embeddable": true,
"href": "https://ruprop.live/wp-json/wp/v2/users/1"
}
],
"replies": [
{
"embeddable": true,
"href": "https://ruprop.live/wp-json/wp/v2/comments?post=460620"
}
],
"version-history": [
{
"count": 0,
"href": "https://ruprop.live/wp-json/wp/v2/posts/460620/revisions"
}
],
"wp:attachment": [
{
"href": "https://ruprop.live/wp-json/wp/v2/media?parent=460620"
}
],
"wp:term": [
{
"taxonomy": "category",
"embeddable": true,
"href": "https://ruprop.live/wp-json/wp/v2/categories?post=460620"
},
{
"taxonomy": "post_tag",
"embeddable": true,
"href": "https://ruprop.live/wp-json/wp/v2/tags?post=460620"
}
],
"wp:action-publish": [
{
"href": "https://ruprop.live/wp-json/wp/v2/posts/460620"
}
],
"wp:action-sticky": [
{
"href": "https://ruprop.live/wp-json/wp/v2/posts/460620"
}
],
"wp:action-assign-author": [
{
"href": "https://ruprop.live/wp-json/wp/v2/posts/460620"
}
],
"wp:action-create-categories": [
{
"href": "https://ruprop.live/wp-json/wp/v2/posts/460620"
}
],
"wp:action-assign-categories": [
{
"href": "https://ruprop.live/wp-json/wp/v2/posts/460620"
}
],
"wp:action-create-tags": [
{
"href": "https://ruprop.live/wp-json/wp/v2/posts/460620"
}
],
"wp:action-assign-tags": [
{
"href": "https://ruprop.live/wp-json/wp/v2/posts/460620"
}
],
"curies": [
{
"name": "wp",
"href": "https://api.w.org/{rel}",
"templated": true
}
]
}
}
]
Information on your n8n setup
- n8n version: n8n 0.187.2
- Database you’re using (default: SQLite): Postgres
- Running n8n with the execution process [own(default), main]: own
- Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker
-
Wordpress is running on the same VPS also using Docker, nothing particular in terms of plugins