Whenever I try to run the workflow it yields that error. I’ve been using this workflow for almost a year without issues. This time is urgent because I can’t keep logging my work anymore! My schedule relies on n8n., thanks by the way! Amazing piece of software you’ve created.
What is the error message (if any)?
Problem in node ‘Notion‘
Bad request - please check your parameters
Please share your workflow
Share the output returned by the last node
Unsaved transactions: Unrecognized error.
Details
Time
14/9/2023 01:26:36
HTTP Code
400
Stack
NodeApiError: Bad request - please check your parameters
at Object.requestWithAuthentication (C:\Users\[my username]\AppData\Local\Programs\n8n\resources\app\node_modules\n8n-core\dist\NodeExecuteFunctions.js:964:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.execute (C:\Users\[my username]\AppData\Local\Programs\n8n\resources\app\node_modules\n8n-nodes-base\dist\nodes\Notion\v2\NotionV2.node.js:339:36)
at async Workflow.runNode (C:\Users\[my username]\AppData\Local\Programs\n8n\resources\app\node_modules\n8n-workflow\dist\Workflow.js:658:28)
at async C:\Users\[my username]\AppData\Local\Programs\n8n\resources\app\node_modules\n8n-core\dist\WorkflowExecute.js:585:53
Information on your n8n setup
n8n version: 0.204.0
Database (default: SQLite): I don’t understand what’s this, probably default.
Have you tried to create a new API key? If I get a 400 error this is usually the first place that I start to diagnose the issue!
You may find that Notion has updated and something has changed or even your API key may have expired, might be worth a look while waiting for someone more well-versed to chime In!
Hi @Cristobal_Alarcon, welcome to the community! n8n version 0.204 is rather old I am afraid and there have been several updates to the Notion node since.
Perhaps you want to start a more recent version of n8n using Docker and verify if the problem still persists in the current n8n version? In order to access your existing workflows you might want to check out this example command rather than the official documentation which would use a fresh volume.
Even if it’s not fix you should get more detailed error message from Notion’s API when using the latest version of n8n with the latest Notion node.
@MutedJam Ah damn, desktop version has been deprecated, I’m screwed . How can I install the latest version uploaded in Github? I can’t afford 20 euros a month if there is really no other way. I’m just some freelancer in a third world country.
@Zac_Magee The new API generated won’t work. It says “Forbidden - perhaps check your credentials?” when I add it to a n8n credential.
Question, what’s Docker? I don’t know how to use it, install it or what previous steps are required before doing what MutedJam said. And after installing, where do I go? I can use n8n through docker or must go to n8n website?
I’m a graphic designer, so all of this is very new for me.
Then it asked me to install WSL2 to run Docker. I followed this guide and installed the first Ubuntu version listed.
Then executed in Power Shell the command @MutedJam provided, my workflow from desktop migrated to the localhost version and done! Then I deleted and recreated some APIs as @Zac_Magee suggested. Then I re-arranged some things in the workflow, but that’s something I already did in the past.
Question, do I need to run the command MutedJam provided in PowerShell every time I want to access to the local host version? Because when I stop the container in Docker I don’t know how to run it and access my workflows again. How do I do it? Do I have to add some information in the optional settings?
If I try to run the image through the “Images” tab in Docker it executes properly, but when I try to enter LocalHost it won’t connect. Like if I didn’t have internet or something.
Yeah you would need to make sure that you are running the container whenever you want to access n8n, I am not sure if Docker desktop gives you an option to set default options for an image but if it does that would help you.