How to Push PDF into linkedin Posting workflow

I want to create a workflow that post on LinkedIn with PDF posts attached to the post itself but i can’t validate the HTTP request part.

The workflow trigger is a simple “when clicking test workflow”

It becomes tricky on the second node, which is an HTTP Request.
Below are all the images of the node you could need to analyse the issue.
Maybe sending linkedin PDF joined to a post is just not possible to this date…

Thanks





## What is the error message ?

The error message is this one :

Forbidden - perhaps check your credentials?
403 - “{"status":403}”

## sharing the workflow

# Sharing the output returned by the last node

Error details
From HTTP Request
Error code
403
Full message

403 - "{\"status\":403}"

Request

{ "body": { "initializeUploadRequest": { "owner": "urn:li:person:ACoAAConxwMBfT_jg5wtbmhPRb5tbOvFU6ObGOo" } }, "headers": { "linkedin-version": "202504", "x-restli-protocol-version": "2.0.0", "accept": "application/json,text/html,application/xhtml+xml,application/xml,text/*;q=0.9, image/*;q=0.8, */*;q=0.7", "Authorization": "**hidden**" }, "method": "POST", "uri": "https://api.linkedin.com/rest/documents?action=initializeUpload", "gzip": true, "rejectUnauthorized": true, "followRedirect": true, "resolveWithFullResponse": true, "followAllRedirects": true, "timeout": 300000, "encoding": null, "json": false, "useStream": true }



*## Information on your n8n setup*

- **n8n version:latest
- **Database (default: SQLite):idk
- **n8n EXECUTIONS_PROCESS setting (default: own, main):idk
- **Running n8n via (Docker, npm, n8n cloud, desktop app): N8N Cloud
- **Operating system: windows

Could anyone create a template for uploading pdf file to Linkedin ? please share end to end example for uploading pdf files.
The linkedin node is not supporting uploading pdf files, only support images,
Thanks…