ContentStudio API Error

When attempting to post to ContentStudio via the n8n API the process fails with an error. I have tried multiple different ways of inputting the required data, as well as following how-to guides provided by ContentStudio and n8n, and while I feel that I am doing everything the way it has been layed out, I still don’t achieve the desired outcome. I’d love and appreciate some help in making the last and most important step actually work. TIA.

The error is:
"Problem in node ‘ContentStudio - Post4‘
The service was not able to process your request.

Workflow

Last Step (where the error happens)

I cant see the images, but I make all of my connections to ContentStudio via HTTP Requests.
I haven’t found a CS ‘native’ node yet.

First, I pull my CS Workspaces:
HTTP Request Node
Method: GET
URL: http://api.contentstudio.io/api/v1/workspaces
Authentication: None
Send Query Parameters: On
Specify Query Parameters: Using Fields Below
Query Parameters:

  • Name = per_page
  • Value = 10

Send Headers: On
Specify Headers: Using Fields Below
Header Parameters:

  • Name: X-API-KEY
  • Value: your ContentStudio API key

Next, I pull my Workplace Socials
HTTP Request Node
Method: GET
URL: http://api.contentstudio.io/api/v1/workspaces/your CS workspace ID/accounts
Authentication: None
Send Query Parameters: On
Specify Query Parameters: Using Fields Below
Query Parameters:

  • Name = platform

  • Value = instagram,facebook,linkedin (and whatever platforms you are pushing to)

  • Name = page

  • Value = 1

  • Name = per_page

  • Value = 20

Send Headers: On
Specify Headers: Using Fields Below
Header Parameters:

  • Name: X-API-KEY
  • Value: your ContentStudio API key

Lastly, to post on your platform.
HTTP Request Node
Method: POST
URL: http://api.contentstudio.io/api/v1/workspaces/your CS workspace ID/posts
Authentication: None
Send Query Parameters: Off

Send Headers: On
Specify Headers: Using Fields Below
Header Parameters:

  • Name: X-API-KEY
  • Value: your ContentStudio API key

Send Body: On
Body Content Type: JSON
Specify Body: Using JSON
JSON:
{
“content”: {
“text”: “Dynamic field for wherever you are pulling your SM caption from”,
“media”: {
“images”: [
“URL(s) where you are storing your image(s)”
]
}
},
“accounts”: [
“xxxxxxxxxxxxx”
],
“scheduling”: {
“publish_type”: “now”
}
}

You can also change the scheduling type, but refer to CS API documentation for that

* Also, in the earlier node, where I was specifying facebook,instagram,linkedin, that was for a filtering system I set up so each channel can get its own custom caption. Not necessary for what you are doing but it may come in handy for you in the future.

1 Like

Thanks very much for your detailed response. I’ve got the exact same JSON etc, but still not working. I’ve got the CS support team looking into it.

Does your code work? Have you tested it and successfully posted?

This error is usually not your workflow logic — it’s ContentStudio rejecting the request because of payload or ID mismatch.

The quickest fix: don’t use the ContentStudio Post node. Use an HTTP Request node instead. The native node often fails silently.

Most common causes:

  • Using account/workspace names instead of IDs

  • Incorrect JSON structure (ContentStudio is very strict)

  • Media fields placed at the wrong level

  • Invalid post type for the selected platform

Once you call the API directly with the correct IDs and payload, it works reliably.

Posts like a champ, please see screen recording here:

I am not using CS for Twitter/X (posting directly using their API), but my other platforms are posting fine. Good luck, I am hoping the official CS node will be released soon.

Thanks, that’s awesome. I’ve been talking to some CS devs and we found the issue in my workflow was due to using Google Workspace to host the files, because I don’t allow file sharing in my Workspace account. We’ve since been able to upload the created file (image/video) directly to my CS media library and it now works.