Full JSON for Task ID: 85
{
"id": "85",
"status": "failed",
"input": {
"text": "Ceļojuma cenā ir iekļauts:\r\nKruīzs rezervētajā kajīšu kategorijā\r\nĒdināšana dienas garumā\r\nIzklaides programma uz kuģa\r\nKuģa aprīkojuma izmantošana (iespējama papildu maksa)\r\nOstas nodevas un nodokļi\r\nBagāžas transportēšana uz\/no kajītes",
"type": "CRUISE",
"directLink": "https:\/\/cruisecentre.lv\/start\/offer\/N4299435251205?aid=210880&url=\/SEA\/all\/Norwegian_Cruise_Line"
},
"output": [],
"error": {
"name": "NodeApiError",
"node": {
"id": "f492dc67-1350-4a09-a976-8a780d150b25",
"name": "Port-Specific Enrichment",
"type": "n8n-nodes-base.perplexity",
"position": [
1600,
-816
],
"parameters": {
"model": "sonar-reasoning-pro",
"options": {
"returnImages": true
},
"messages": {
"message": [
{
"role": "system",
"content": "=You are a cruise destination and travel expert providing factual, current information for cruise content creation.\n\nYour responses should:\n- Focus on practical details relevant to cruise passengers (limited time in port, typically 6-10 hours)\n- Include specific attraction names, locations, and distances from cruise terminals\n- Provide cultural and historical context in an engaging but concise manner\n- Mention transport options and time requirements\n- Suggest shore excursion ideas suitable for various traveler types\n- Use current, verified information (2024-2025)\n\nFormat your responses with clear sections and bullet points for easy parsing.\n"
},
{
"role": "user",
"content": "=For cruise passengers visiting {{ $json.name }}, {{ $json.country }}:\n\n1. What are the top 3-4 must-see attractions or experiences accessible from the cruise terminal?\n2. What is the cultural and historical significance of this destination?\n3. How far is the cruise terminal from the city center, and what transport options are available?\n4. What are the best shore excursion options for different traveler types (families, couples, adventure seekers)?\n5. What practical tips should cruise passengers know (time needed, costs, best times to visit)?\n6. What makes this destination unique or special for visitors?\n\nProvide specific names, distances, and practical details."
}
]
},
"resource": "chat",
"simplify": false,
"operation": "complete",
"requestOptions": []
},
"credentials": {
"perplexityApi": {
"id": "60ZzVNdKWLUOzTaU",
"name": "Perplexity account"
}
},
"typeVersion": 1
},
"tags": [],
"level": "warning",
"stack": "NodeApiError: Unauthorized.\n at ExecuteSingleContext.sendErrorPostReceive (\/usr\/local\/lib\/node_modules\/n8n\/node_modules\/.pnpm\/n8n-nodes-base@file+packages+nodes-base_@aws-sdk+credential-providers@3.808.0_asn1.js@5_afd197edb2c1f848eae21a96a97fab23\/node_modules\/n8n-nodes-base\/nodes\/Perplexity\/GenericFunctions.ts:34:9)\n at RoutingNode.runPostReceiveAction (\/usr\/local\/lib\/node_modules\/n8n\/node_modules\/.pnpm\/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+sdk-trace-base@1.30_08b575bec2313d5d8a4cc75358971443\/node_modules\/n8n-core\/src\/execution-engine\/routing-node.ts:309:24)\n at RoutingNode.postProcessResponseData (\/usr\/local\/lib\/node_modules\/n8n\/node_modules\/.pnpm\/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+sdk-trace-base@1.30_08b575bec2313d5d8a4cc75358971443\/node_modules\/n8n-core\/src\/execution-engine\/routing-node.ts:494:30)\n at \/usr\/local\/lib\/node_modules\/n8n\/node_modules\/.pnpm\/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+sdk-trace-base@1.30_08b575bec2313d5d8a4cc75358971443\/node_modules\/n8n-core\/src\/execution-engine\/routing-node.ts:732:17\n at processTicksAndRejections (node:internal\/process\/task_queues:105:5)\n at RoutingNode.makeRequest (\/usr\/local\/lib\/node_modules\/n8n\/node_modules\/.pnpm\/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+sdk-trace-base@1.30_08b575bec2313d5d8a4cc75358971443\/node_modules\/n8n-core\/src\/execution-engine\/routing-node.ts:725:19)\n at async Promise.allSettled (index 0)\n at RoutingNode.runNode (\/usr\/local\/lib\/node_modules\/n8n\/node_modules\/.pnpm\/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+sdk-trace-base@1.30_08b575bec2313d5d8a4cc75358971443\/node_modules\/n8n-core\/src\/execution-engine\/routing-node.ts:234:29)\n at ExecuteContext.versionedNodeType.execute (\/usr\/local\/lib\/node_modules\/n8n\/src\/node-types.ts:60:18)\n at WorkflowExecute.executeNode (\/usr\/local\/lib\/node_modules\/n8n\/node_modules\/.pnpm\/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+sdk-trace-base@1.30_08b575bec2313d5d8a4cc75358971443\/node_modules\/n8n-core\/src\/execution-engine\/workflow-execute.ts:1265:8)",
"context": {
"runIndex": 0,
"itemIndex": 0
},
"message": "Unauthorized.",
"httpCode": "401",
"messages": [],
"timestamp": 1761764403775,
"description": "Any optional system messages must be sent first, followed by alternating user and assistant messages. For more details, refer to the API documentation: https:\/\/docs.perplexity.ai\/api-reference\/chat-completions",
"errorResponse": {
"body": "<html>\r\n<head><title>401 Authorization Required<\/title><\/head>\r\n<body>\r\n<center><h1>401 Authorization Required<\/h1><\/center>\r\n<hr><center>openresty\/1.27.4<\/center>\r\n<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML=\"window.__CF$cv$params={r:'9964e9e29b53a887',t:'MTc2MTc2NDQwMy4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='\/cdn-cgi\/challenge-platform\/scripts\/jsd\/main.js';document.getElementsByTagName('head')[0].appendChild(a);\";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();<\/script><\/body>\r\n<\/html>\r\n",
"headers": {
"date": "Wed, 29 Oct 2025 19:00:03 GMT",
"cf-ray": "9964e9e29b53a887-RIX",
"server": "cloudflare",
"connection": "close",
"set-cookie": "__cf_bm=rPgFk_t5UFrrHVPCgXaZZOzol4fDY1WL6K6wFrEvjxg-1761764403-1.0.1.1-KSNFVg43DJrF5k0KShS1N3MMr.jy85P__2Lapk58EI1jr9vE6t7yfhdkRFpHz8MpB4QV5gfy1jhI6xr8UKOF863AyN1BPrEGF7ybjLAB3Mo; path=\/; expires=Wed, 29-Oct-25 19:30:03 GMT; domain=.perplexity.ai; HttpOnly; Secure; SameSite=None",
"content-type": "text\/html",
"cf-cache-status": "DYNAMIC",
"transfer-encoding": "chunked",
"strict-transport-security": "max-age=15552000; includeSubDomains; preload"
},
"statusCode": 401,
"statusMessage": "Unauthorized"
},
"functionality": "regular"
}
}