Error 422 when using r2/s3 presigned url for zip file
Closed this issue · 0 comments
oniswap commented
Hello,
I'm getting an error 422 Unprocessable Entity when I use a presigned url for a zip file in input_images field:
const signedUrl = await getSignedUrl(s3Client, command, {
expiresIn: 24 * 3600,
})
await replicate.trainings.create(
"ostris",
"flux-dev-lora-trainer",
"d995297071a44dcb72244e6c19462111649ec86a9646c32df56daa7f14801944",
{
input: {
input_images: signedUrl,
...