Hi Community,
I am trying to build a workflow using the filerun.com API (api :: FileRun Documentation) to automatically name, tag and sort my documents.
Using the proposed CURL POST command from the filerun API, I can access the api and create an access token via a CLI.
However, trying to build an n8n workflow, I run into an error - regardless of what I try.
Trying to create API credentials (Oauth2 API) fails, since the format auf “Authorization Code” seems to differ from the official oauth2, that filerun uses.
I have then tried to create a direct workflow and imported the CURL command into a node, which gets translated as follows (personal information has been “redacted”).
- The CURL command which works from the CLI and is used 1:1 for importing:
curl -X POST -d “username=n8n&password=redacted$&scope=upload&client_id=redacted&client_secret=redacted&redirect_uri=https://n8n.redacted.de&grant_type=password” https://filerun.redacted.de/oauth2/token/
This is how the import looks in the http-request node:
And this is the error output that I receive:
Can you point me in the right direction of what I am doing wrong and how it needs to be done correctly?
n8n-version: 1.78.1 running in a docker container, no special environment-variables or external databases set.
Thanks,
Thomas