Dify Block Internal Server Error(selfhost)

So I was super excited for this block I spend some time building bots in Dify and everything but at the moment of making a connection Im having this error code 500 when Dify block tries to run. Have anyone experience the same problem?
I am using a self-hosted Dify with custom API endpoint so I used that endpoint on typebot. But then thinking it was my Dify installation I went to the cloud based Dify and used their API to find myself with the same error code 😦 Sad. Error: { "status": 500, "body": { "message": "Response code 404 (Not Found)", "code": "INTERNAL_SERVER_ERROR", "data": { "code": "INTERNAL_SERVER_ERROR", "httpStatus": 500, "path": "continueChat" } } }
15 Replies
Baptiste
Baptiste15mo ago
What's the configuration of your block? It is most likely misconfigured
Jesús Pacheco
Jesús PachecoOP15mo ago
Hmm, I made sure to follow your lume video a few times, what's different is that mines goes straight to the prompt and I did not used the conversation ID since it is optional right?. This is my block configuration. "xyz" represents my anonymous website. I also used the cloud based dify app with this endpoint > https://api.dify.ai/v1
No description
No description
No description
Baptiste
Baptiste15mo ago
Remove v1 in your API endpoint. Typebot handles the versioning This should look like: https://api.dify.ai
Jesús Pacheco
Jesús PachecoOP15mo ago
It worked with the cloud version but for the self hosted(dify)keeps giving me the error. I created a similar api subdomain and put it without the /v1 to see if worked but no.
Baptiste
Baptiste15mo ago
Provide the URL you entered please 🙂
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Jesús Pacheco
Jesús PachecoOP15mo ago
Are you using a Self hosted dify? Or the cloud version?
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Jesús Pacheco
Jesús PachecoOP15mo ago
Then this should work for you Put that link as the endpoint , your api key and the name. That worked for me. Just not with the selfhost
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Baptiste
Baptiste15mo ago
We just merged a potential fix. @NerQuiLes can you try again?
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Jesús Pacheco
Jesús PachecoOP15mo ago
That's awesome but also the whole point of having a block is to do all that work. I'll just wait until the fix is released in the next docker update. Thanks for sharing.
Baptiste
Baptiste14mo ago
Alright, I'm pushing a fix now 👍 There was indeed still an issue if Inputs are empty
Alex
Alex8mo ago
Man, could you send me the step by step, please?

Did you find this page helpful?