flipswitchingmonkey / n8n-nodes-lexoffice-api

Lexoffice REST API nodes for n8n
MIT License
6 stars 0 forks source link

File upload? #2

Open saschafoerster opened 1 year ago

saschafoerster commented 1 year ago

Does file upload work? Maybe I am not able to transmit the binary from a former node or maybe it is just not working? I wonder that there is not field to enter or link the name of the binary.

When I try to upload, I get error 500:

Bildschirm­foto 2023-01-28 um 17 31 12

NodeApiError: The service was not able to process your request
    at Object.execute (/home/node/.n8n/nodes/node_modules/n8n-nodes-lexoffice-api/nodes/LexofficePuplicApi/LexofficePuplicApi.node.ts:145:12)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:658:28)
    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:585:53
flipswitchingmonkey commented 1 year ago

It's probably not implemented :( Tbh. I got sidetracked with other issues and now my lexoffice trial has run out, I've lost access to the API :) I hope to get around to working on it further....

saschafoerster commented 1 year ago

Ah, sad. I guess it's one of the most interesting functions of them all. :) At least for me. I now have a workaround by sending them via mail to another service, that uploads PDFs to LexOffice. For the API, there is no problem: i regularly created new test-accounts, even with the same e-mail-adress, for testing-purposes. There is no real limit in testing (just everything will be reset, so there are no old files or clients in LexOffice)

flipswitchingmonkey commented 1 year ago

oh that's good to know! In that case I'll make sure to carve out some time to look into it.

flipswitchingmonkey commented 1 year ago

I just published v0.1.3, which hopefully has a working file upload now... let me know if it works for you

pablopaul commented 2 months ago

@saschafoerster

I now have a workaround by sending them via mail to another service, that uploads PDFs to LexOffice.

What service have you used?

saschafoerster commented 2 months ago

@pablopaul I am using https://github.com/gruessung/send2lex