Share feedback, ideas and get community help

Updated 11 months ago

Dify.ai And typebot

I've established a Dify.ai account with a "conversation opener" and no input variable. However, I encounter a 500 error when attempting to integrate with Typebot. Here is the error message:
{
"status": 500,
"body": {
"message": "Response code 400 (Bad Request)",
"code": "INTERNAL_SERVER_ERROR",
"data": {
"code": "INTERNAL_SERVER_ERROR",
"httpStatus": 500,
"path": "continueChat"
}
}
}
I've attached screenshots of both integrations for reference. Your assistance in resolving this issue would be greatly appreciated.
Attachments
Screenshot_2024-02-07_104841.png
Screenshot_2024-02-07_104833.png
2
A
G
J
17 comments
Make sure you use the api endpoint without the /v1
how to edit the end point, on the dify end its uneditable.
My apologies i did not see you are using cloud dify not self host
Bad request means you have something invalid
This is happening to me too with the self hosted version. I create a subdomain just for the api so I can put the link without the /v1 and still not working. Any ideas?

It worked super fine with the cloud version.
@Jesús Pacheco dm me your self host uri so i can test somethings
found the issue, informing baptiste about it
Any update on this?
Should be fixed on Cloud version!
HI @Baptiste , I get error 400 ---> {"code": "invalid_param", "message": "Agent app is not supported in blocking mode.", "status": 400}
Interesting. Didn’t try that agent mode. Will check it out.
Should be fixed now! Do you confirm?
Hi, yes it works, but the responses are truncated no matter how many tokens you enter in Dify. On the other hand, when you manually integrate the API, the responses are full, could you check if there is any limitation of tokens in the default module?
Can you provide an example?
Ok, I will send you privately the two flows for your review.
Add a reply
Sign up and join the conversation on Discord