Share feedback, ideas and get community help

D
F
M
a
g

GPT-4V (Vision)

I'm attempting to integrate Typebot with GPT-4V (Vision) through the Webhook Block.
It works seamlessly when the URL points to any image from Google Images, randomly selected. However, it encounters issues when the image is sent/uploaded through Typebot.

The error message provided is too ambiguous, I'm speculating that the problem may be related to the cross-origin policy.
Plain Text
"error": {
  "message": "Invalid image.",
  "type": "invalid_request_error",
  "param": null,
  "code": null
}

I'm seeking any clues or advice that could help troubleshoot this issue.
Attachments
image.png
image.png
M
V
B
26 comments
Maybe it's some access policy for the bucket where the image is, is this using the AWS minio?
Try open the url that is put in the variable in a incognito window, if open so there is no problem with access policy for the bucket, Or you can try send the file to openai storage also.
You are an expert, I feel like I'm trying to teach ¨a priest how to say mass¨, sorry for maybe saying something that you might already know.
No! 😂 You're absolutely right!
Man! How stupid I am? 😆
I can see the image cause I'm logged. 🤦‍♂️
The access policy already "public".
Do you know where else should I change it?
Attachment
image.png
The minio / s3 url is already public. I can access it from the incognito window.
The problem is the typebot URL for the image.
Sorry delay I was busy... I will try replicate this here..
should look like this
Attachment
image.png
I send an image to Typebot. In Typebot I get an URL like:
https://typebot.myurl.io/api/typebots/<bunchoffstuff>
If I access this url I get the error: {"message":"Not authenticated"}

But if I access my minio, I can see that the original image url is something like:
https://s3.myurl.io/typebot/public/workspaces/<bunchofstuff>
And that's public accessible.
Yes I was wrong the domain is from s3 or minio not typebot builder
Differently from mine, yours is receiving the minio URL, not the bot, and it works because of that.
Why is mine different?
🤔
Are you using preview mode or live ?
Thought Whatsapp.
It works if I don't use Whatsapp.
Attachment
image.png
So is something on code of integration of whatsapp
Access Policy

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": [
"" ] }, "Action": [ "s3:ListBucketMultipartUploads", "s3:GetBucketLocation" ], "Resource": [ "arn:aws:s3:::typebot" ] }, { "Effect": "Allow", "Principal": { "AWS": [ ""
]
},
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::typebot"
],
"Condition": {
"StringEquals": {
"s3:prefix": [
"public"
]
}
}
},
{
"Effect": "Allow",
"Principal": {
"AWS": [
"" ] }, "Action": [ "s3:PutObject", "s3:AbortMultipartUpload", "s3:DeleteObject", "s3:GetObject", "s3:ListMultipartUploadParts" ], "Resource": [ "arn:aws:s3:::typebot/public"
]
}
]
}
Attachment
image.png
Add a reply
Sign up and join the conversation on Discord
Join