cog icon indicating copy to clipboard operation
cog copied to clipboard

Error parsing base64 strings in webhook

Open tontan2545 opened this issue 1 year ago • 0 comments

Hi, I've recently deployed a model in cog and I found quite an interesting issue. If I'm using PUT /api/predictions/{prediction_id} the base64 result looks just fine, here's the example result. image However if I tried to do predictions in webhook manner, the base64 result came with as a JSON string content as file name but no base64 data. image I'm using Next.js API route for this webhook receiver

tontan2545 avatar Apr 27 '24 04:04 tontan2545