On the Medium node, there is a field named ‘Publication Name or ID’, I entered the id in the URL (after https://medium.com/ ) and it returns me an error message.
I looked for Medium publication ID but it seems that Medium’s API does not support it, so I am wondering what should I write in this field?
What is the error message (if any)?
ERROR: Bad request - please check your parameters
Invaid publication ID
Please share your workflow
Share the output returned by the last node
NodeApiError: Bad request - please check your parameters
at Object.mediumApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Medium/GenericFunctions.js:30:15)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Medium/Medium.node.js:409:44)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:646:28)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:631:53
Information on your n8n setup
n8n version:
1.0.5
Database (default: SQLite):
SQLite
n8n EXECUTIONS_PROCESS setting (default: own, main):
own
Thank you !
The thing is that the publication is empty, and the user with who’m I would like to publish the article doesnt have anything published yet.
Ah in that case I am not sure of another way to get the publication id, Sadly the API docs are not that great. Does it give you an ID in medium itself?
In the ndoe if you click on Add Field at the bottom under Additional Fields there is an option for Publish Status, This can be set to Draft and should resolve the issue.