Error with multipart/form-data API request

Summary

User encounters a 500 error when sending a multipart/form-data request via Airbyte, while the same request succeeds in Postman. The issue may relate to how the boundary is handled in the request.


Question

When attempting to send a request via Airbyte using Content-Type: multipart/form-data, an error occurs. However, the same API request executed from Postman with the header Content-Type: multipart/form-data; boundary=<calculated when request is sent> completes successfully without any errors. What could be causing this discrepancy?"

      {
        "message": "Unexpected error has occurred. Contact technical support team for assistance.",
        "type": "unspecified",
        "code": 500
      }
    ]```


<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1719215599542629) if you want
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
['multipart-form-data', 'api-request', 'error-500', 'postman']
</sub>