Hey @Jack_T ,
Thank you for your response. I have already tried using Base64, but the issue persists. I also attempted sending the data as a string, but it still didn't work.
can See The Screenshot & error


{
"request": {
"url": "https://files.stripe.com/v1/files",
"method": "POST",
"body": "{\"purpose\":\"identity_document\",\"file\":\"UEsDBBQAAAAIAHMqRloKCHnMCwEAAKgCAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbK2SvU4DMRCEe57CchvFTigQQndJEaAEivAAi2/vzor/5HXC3dvjcwIFCqRJZdk7M99o5Wo9WMMOGEl7V/OlWHCGTvlGu67m79vn+T1nlMA1YLzDmo9IfL26qbZjQGLZ7KjmfUrhQUpSPVog4QO6PGl9tJDyNXYygNpBh/J2sbiTyruELs3TlMFX1SO2sDeJPQ35+VgkoiHONkfhxKo5hGC0gpTn8uCaX5T5iSCys2io14FmWcDlWcI0+Rtw8r3mzUTdIHuDmF7AZpUcjPz0cffh/U78H3KmpW9brbDxam+zRVCICA31iMkaUU5hQbvZZX4RkyzH8spFfvIv9KA0GqRrb6GEfpNl+WirL1BLAwQUAAAd04w1mvFMvbrG0ZxRNDA1UM4LMEgd+0DHBva7zc8SjCZH3o1M2MANFVbtrL6wnA7MJ5P9pA0MKU2VtdoNGJ3OeULKSs8SXcqnHK1Ogs7rgJjiaH+LYmGjCwSvhEq+yeC+Dx2uufuPSOkVIji6lNvrECaFtn5+0DcacjG3/nvwMi954NbnoWCkCpnI1pdg29p+bPazrLTogV0kgR0QBkI/gxMJgEKu+Oig+PLBIVCkL16TBwpc0Vx/tJ7YGlHNDhQzxa0scCAAD9BgAADQAAAAAAAAAAAAAAAAD8AwAAeGwvc3R5bGVzLnhtbFBLAQIAABQAAAAIAHMqRlpeR+VyViwAAFcPAgAYAAAAAAAAAAAAAAAAAO4GAAB4bC93b3Jrc2hlZXRzL3NoZWV0MS54bWxQSwUGAAAAAAYABgCAAQAAejMAAAAA\"}",
"headers": {
"Content-Type": "multipart/form-data; boundary=form-data-boundary-3f5xgq60u7ph7k1k",
"User-Agent": "Retool/2.0 (+https://docs.tryretool.com/docs/apis)",
"Authorization": "---sanitized---",
"ot-baggage-requestId": "undefined",
"x-datadog-trace-id": "6688754371668321615",
"x-datadog-parent-id": "8160798037817259477",
"x-datadog-sampling-priority": "0",
"x-datadog-tags": "_dd.p.tid=67b6b14200000000",
"traceparent": "00-67b6b142000000005cd33aa99921a54f-7140fa93dfcd75d5-00",
"tracestate": "dd=t.tid:67b6b14200000000;t.dm:-1;s:0;p:7140fa93dfcd75d5",
"X-Retool-Forwarded-For": "122.170.45.201"
}
},
"response": {
"data": {
"error": {
"message": "Invalid request (check your POST parameters): For assistance, contact support at https://support.stripe.com/contact/.",
"type": "invalid_request_error"
}
},
"headers": {
"server": [
"nginx"
],
"date": [
"Thu, 20 Feb 2025 04:36:19 GMT"
],
"content-type": [
"application/json"
],
"content-length": [
"193"
],
"connection": [
"keep-alive"
],
"access-control-allow-credentials": [
"true"
],
"access-control-allow-methods": [
"DELETE, GET, HEAD, PATCH, POST, PUT"
],
"access-control-allow-origin": [
"*"
],
"access-control-expose-headers": [
"Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required"
],
"access-control-max-age": [
"300"
],
"content-security-policy": [
"base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=EdbDAEyp-9gJWT-1yZS-FbS17rSh4XZ0fmOYODvHAIi5wHcgKG_4YRcD6VrCGqujN3iFBaN7ug%3D%3D"
],
"report-to": [
"{\"group\":\"coop\",\"max_age\":8640,\"endpoints\":[{\"url\":\"https://q.stripe.com/coop-report\"}],\"include_subdomains\":true}"
],
"reporting-endpoints": [
"coop=\"https://q.stripe.com/coop-report\""
],
"vary": [
"Origin"
],
"x-content-type-options": [
"nosniff"
],
"x-wc": [
"ABCD"
],
"strict-transport-security": [
"max-age=63072000; includeSubDomains; preload"
]
},
"status": 400,
"statusText": "Bad Request"
}
}