CurlCommand failed with exit code: 92 using Transloadit /http/import

Hello everyone,

I’m facing an intermittent error while using Transloadit, and I couldn’t find a way to fix it.

I’m using two robots: /http/import to download multiple audio files (up to 6 files, with a total size of 9MB) and /audio/concat to merge them into one. However, sometimes the import fails with the following error:

{
  "error": "INTERNAL_COMMAND_ERROR",
  "reason": "CurlCommand failed with exit code: 92: Stream error in HTTP/2 framing layer Tried to connect to host: https://***.mp3",
  "http_code": 500,
  "exitCode": 92,
  "stderr": "curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)"
}

The failure occurs when attempting to download files from a Cloudflare R2 storage endpoint, but I’ve omitted the specific file URL for privacy.

I suspect this might be related to the curl/libcurl version, as discussed here:
libcurl using client reports curl error 92 "Stream error in the HTTP/2 framing layer" when receiving a 204 No content reponse from HTTP/2 server to a DELETE request · Issue #13678 · curl/curl · GitHub.

Has anyone experienced something similar or found a workaround?
Any help would be greatly appreciated!