Gohighlevel Upload a media error!

Hello Devs, I am facing an error with the gohighlevel upload a media api endpoint error, it is showing forbidden and I did everything that is expected I can’t figure the error, I would love if you can help me guys

1 Like

You’re encountering a 403 Forbidden error while trying to upload media to the GoHighLevel API endpoint https://services.leadconnectorhq.com/medias/upload-file. This means your request is reaching the server, but the server is denying access — typically due to one of the following reasons:

1)Missing or Incorrect Authorization Token

2)Expired or Invalid Access Token

3)User Doesn’t Have Permission to Upload

  1. Wrong Endpoint

5)Wrong Content-Type or Multipart Config

Suggested Fix Steps:

  1. Add Authorization Header

In your Make HTTP module > Headers section: {

“Authorization”: “Bearer YOUR_ACCESS_TOKEN”

  1. Re-authenticate if needed

Use GoHighLevel’s OAuth documentation to generate a new token.

3)Use HTTP Module like this (sample structure):

Method: POST

URL: https://services.leadconnectorhq.com/medias/upload-file

Header: {

“Authorization”: “Bearer YOUR_ACCESS_TOKEN”

Body Type: Multipart/form-data

Fields:

file: attach a file (ensure the file is coming from a File module or HTTP download) purpose: set if required by the API (e.g., “general” or similar)

1 Like

If trying to upload a file, you can use this structure


for multiple files use text aggregator and then use API call module from GHL.