If you try and run n8n outside of your project is it working? It would be worth checking if it is a general problem or one that only exists when it is being launched as a dependency of another project.
Having the same issue, I’m using Cloudron to run N8N and the odd part is that on 2 N8N instance I don’t have this problem (they all are same version of N8N)
And on 1 other N8N instance I have this error, with the Mastodon Community Node.
Not sure what I can do to debug more and find out.
NodeApiError: UNKNOWN ERROR - check the detailed error for more information
at Object.mastodonApiRequest (/app/data/user/.n8n/nodes/node_modules/n8n-nodes-mastodon/nodes/Mastodon/Mastodon_Methods.ts:195:9)
at Object.create (/app/data/user/.n8n/nodes/node_modules/n8n-nodes-mastodon/nodes/Mastodon/Mastodon_Methods.ts:88:35)
at Object.execute (/app/data/user/.n8n/nodes/node_modules/n8n-nodes-mastodon/nodes/Mastodon/Mastodon_Methods.ts:19:42)
at Object.execute (/app/data/user/.n8n/nodes/node_modules/n8n-nodes-mastodon/nodes/Mastodon/Mastodon.node.ts:41:48)
at Workflow.runNode (/app/code/node_modules/n8n-workflow/src/Workflow.ts:1270:42)
at /app/code/node_modules/n8n-core/src/WorkflowExecute.ts:938:44
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Yes waiting for more information. It’s odd that the same node, same version, same N8N version works just fine, using the same underlying docker stack .
I do have logging to debug level, but I’m not seeing anything
and because it’s the exact same underlying stack, docker image, cloudron package, each instance is exactly the same, that’s the odd thing.
I don’t want to be the one that says it but if they were all exactly the same I would expect it to work. I would turn off the logging option and see if that helps but to me as the issue is coming from the node that is where I would start.
Have tried it with the log turned off, but since the last N8N upgrades, now all my instance have stopped working for the Mastodon node, I’m still investigating what happened, meanwhile I’m using the HTTP node to make the api request, but it’s a pity because I would have wanted to use the Content Warning feature and also to set a language etc…
Hi @benb - yeah mine is failing on new updates on n8n as well - its something to do with the upload code and changes in n8n… 0.216.2 works (although the logging error still happens on some infrastructure for some unknown other reason)
Hi @MutedJam I was using the HTTP node in the past but I was really counting on this node to be able to set the language, the CW and other fine features the node is offering that I never managed to set via the HTTP node, have you managed to use the HTTP node for more than simply posting ?
Sounds like you’re almost there, the authentication is usually the hardest part.
Setting the language etc. should be simple enough. On statuses API methods - Mastodon documentation you can find a list of all available parameters. So in n8n’s HTTP Request node, you’d add a new body parameter (type “Form Data” with a name of language and a value like de or en).
Oh great, I should have tried this sooner, last thing I need would be ability to add a Content Warning and specify the toot is sensitive
sensitive
Boolean. Mark status and attached media as sensitive? Defaults to false.
spoiler_text
String. Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field.