Issue uploading a file to Bullhorn API using Make’s HTTP module (400 Bad Request)

I am trying to upload a file to Bullhorn API using Make’s HTTP – Make a request module, but I keep receiving a 400 Bad Request error with the message:

{“error”:“This URL is reserved for login purposes.”}

What I Have Tried:

  • I confirmed I am using the correct corpToken (blotted out in screenshot as [corpToken]) and candidate ID.
  • The request uses the PUT method as required by Bullhorn API.
  • The file is mapped correctly from a previous HTTP – Get a File module.
  • I tried both appending the query parameters (fileType and externalID) to the URL and passing them in the Query String section.
  • The Body Type is set to multipart/form-data, and the file field is mapped properly.

Here is the API documentation for the PUT /file request from Bullhorn (specifically the raw file not the base64-encoded file): API Reference.

Any help would be MUCH appreciated!