API Call Timeout Issue with Perplexity's Sonar-Reasoning Model

Hey everyone,

I’m running into an issue when trying to make an API call to Perplexity’s sonar-reasoning model from Bubble. The request works, but it seems like the response takes too long, causing Bubble to time out before getting an answer.

Has anyone found a way to handle long response times when making API calls in Bubble?

Thanks,
Lucas.

Is there an async option for this API? You could get a webhook if this is the case and if available?

1 Like

From what I can see in the API docs, there’s only a chat completion endpoint. Not even a call where I could run a loop in Bubble to check the run status and then retrieve the output.

Chat Completions - Perplexity

Thanks, I don’t see any options too. I guess you may use another provider to call this api and return the response to a Bubble backend WF once it’s completed.