YOURLS node returns 400 error despite valid credentials and parameters
Author: officina-musciCreated Sep 15, 2026Updated Sep 16, 2026
Labelsteam:nodesstatus:in-linearstatus:team-assigned
Bug Description
The YOURLS node in n8n consistently returns a 400 error when attempting to shorten URLs, even with valid credentials and parameters. Direct API calls and the HTTP Request node with identical parameters work perfectly, confirming the issue is specific to the YOURLS node implementation.
To Reproduce
- Create a YOURLS node in n8n
- Configure credentials:URL: https://my-yourls.com
- Signature: Valid signature from YOURLS > Tools > API
- Set operation to Shorten
- Provide a valid URL (e.g., https://test.com/test)
- Execute the workflow
- Get the 400 error
Note: The same parameters work when:
- Called directly via browser: https://my-yourls.com/yourls-api.php?signature=...&action=shorturl&url=https://test.com/test&format=json
- Used in the HTTP Request node with identical query parameters
Expected behavior
The YOURLS node should successfully return the shortened URL (e.g., {"shorturl":"https://my-yourls.com/abc123","title":"...","url":"..."}) without throwing a 400 error.
Debug Info
Debug info
core
- n8nVersion: 2.39.5
- platform: docker (self-hosted)
- nodeJsVersion: 24.15.0
- nodeEnv: production
- database: sqlite
- executionMode: regular
- concurrency: -1
- license: enterprise (production)
- consumerId: ad4f4cc8-f1a1-4b68-a539-9feebd2ba9b1
storage
- success: all
- error: all
- progress: false
- manual: true
- binaryMode: filesystem
pruning
- enabled: true
- maxAge: 336 hours
- maxCount: 10000 executions
client
- userAgent: mozilla/5.0 (x11; linux x86_64) applewebkit/537.36 (khtml, like gecko) chrome/152.0.0.0 safari/537.36
- isTouchDevice: false
cluster
- instanceCount: 1
- versions: 2.39.5
- instances:
- instanceKey: cb6525ec-fda9-443e-a63f-ff0e3e9baa7c, hostId: main-ik-019ca555-a708-7280-b9be-3c65f4ab7c7d-5bbbc6bbf5-dxdzj, instanceType: main, instanceRole: leader, version: 2.39.5
- checks:
- check: hostid-clash, status: succeeded, warnings: -
- check: lifecycle, status: succeeded, warnings: -
- check: split-brain, status: succeeded, warnings: -
- check: version-mismatch, status: succeeded, warnings: -
Generated at: 2026-09-15T17:13:32.789Z
Operating System
docker
n8n Version
2.39.5
Node.js Version
24
Database
SQLite (default)
Execution mode
main (default)
Hosting
self hosted
Source: n8n-io/n8n