fal-ai/fal-js

error:"no inputs, reconnect when needed!"

Closed this issue · 1 comments

yerled commented

i send a dataurl as image_url to fal.realtime, then receive a error:
image

my payload:
image

Hi @yerled , that is an expected status when the WS doesn't receive any messages for a given interval determined by the API (usually ~2s), it disconnects. The client will reconnect automatically when you send new messages.

Maybe labeling as an error is misleading here, I'll take this to the team so we can revisit the status: "error" in such cases. But don't worry, nothing is wrong. The incoming message right after the one you send is the successful response to your request.