400 Error in GoCardless HTTP

Hey everyone.

I have setup an automations working with GoCardless but am receiving an error.

The error is 400: Your client has issued a malformed or illegal request.

Header 1 is Authorization: Bearer TOP_SECRET_ACCESS_TOKEN

Endpoint: https://api.gocardless.com/payments/PM00WP4ZCQMBPT

Many thanks,

Welcome to the Make community!

I couldn’t see the request body from your screenshots.


Please share screenshots of the module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:


Please export the scenario blueprint file to allow others to replicate the issue. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.


Uploading it here will look like this:

blueprint.json (12.3 KB)


Please provide the input/output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the contents as a bundle.json file, and upload it here into this discussion thread:


Following these steps will allow others to assist you here. Thanks!


Hi @samliew,

Thank you for your response.

Please see the screenshots of the module fields below:

Here is the exported blueprint file:
Scenario Blueprint.json (51.6 KB)

Here is the output bundle:
Output Bundle.json (910 Bytes)

Many thanks,

That looks like the output bundle of the failing module. Do you have any output bundles from the previous modules?

This looks incorrect, you are sending these two headers,


with no content, thus rendering the request invalid, as per error message.


1 Like

That makes sense!

I have removed the Content-Type and Content-Length headers as all I am trying to do is a GET request.

I am now getting an Invalid ‘Authorization’ header error.
New Output Bundle.json (2.0 KB)

I think my issue is regarding the Bearer… I’m struggling to find how I can generate the bearer.
I was just using the Access Token Name.

No problem, glad I could help!

This looks like a completely different issue now, I’m not quite sure how to help with that.

In future, please create a new thread for each question. This makes it easier for others with the same problem to search for the answer, and for your new question to get answered faster. Thank you for your cooperation!

The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post: