Hello,
I am having issues with the create: product node for Shopify, an un-descriptive 301 error appears when executing the workflow. There was a similar thread to this issue with n8n cloud linked below, but no solution was provided (301 error when trying to add a product in my Shopify’s boutique).
I have tried removing all elements of the workflow and just adding a product with static information; the same error occurs. I also suspected that the image option may be causing this; I removed that option and still had the same error. I also tried a completely different workflow and node to no avail. I also ensured I was updated to the latest 1.61.0 on self-hosted Ubuntu server - DigitalOcean if it makes a difference.
Any assistance is appreciated! I am a little dumbfounded on what to do here and a 301 would indicate that it may be an issue with the Shopify endpoint in the source code (maybe?).
What is the error message (if any)?
{
“errorMessage”: “301 - ""”,
“errorDetails”: {
“rawErrorMessage”: [
“301 - ""”
],
“httpCode”: “301”
},
“n8nDetails”: {
“nodeName”: “Create New Shopify Product”,
“nodeType”: “n8n-nodes-base.shopify”,
“nodeVersion”: 1,
“resource”: “product”,
“operation”: “create”,
“time”: “10/4/2024, 10:51:20 AM”,
“n8nVersion”: “1.61.0 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: 301 - ""”,
" at Object.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1283:19)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at Object.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:2073:20)“,
" at Object.shopifyApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Shopify/GenericFunctions.js:56:12)”,
" at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Shopify/Shopify.node.js:317:40)“,
" at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:722:19)”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:711:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1141:20"
]
}
}
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- **n8n version: Latest 1.61.0
- **Database (default: SQLite): SQLite
- **n8n EXECUTIONS_PROCESS setting (default: own, main): default
- **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker 25.0.3 - Docker Compose
- **Operating system: Ubuntu 22.04