Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing base64 strings in webhook #1634

Open
tontan2545 opened this issue Apr 27, 2024 · 0 comments
Open

Error parsing base64 strings in webhook #1634

tontan2545 opened this issue Apr 27, 2024 · 0 comments

Comments

@tontan2545
Copy link

tontan2545 commented Apr 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant