# After updating: Network timeout at: https://api.perplexity.ai/chat/completions

**URL:** https://community.perplexity.ai/t/after-updating-network-timeout-at-https-api-perplexity-ai-chat-completions/109
**Category:** Bug Reports
**Created:** [May 15, 2025, 12:17am UTC](https://community.perplexity.ai/t/after-updating-network-timeout-at-https-api-perplexity-ai-chat-completions/109 "2025-05-15T00:17:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)
#### Post date: [May 15, 2025, 12:17am UTC](https://community.perplexity.ai/t/after-updating-network-timeout-at-https-api-perplexity-ai-chat-completions/109/1 "2025-05-15T00:17:00Z")

</div>

I have updated my code for the new model:

```auto
{
  "model": "sonar",
  "messages": [
    {
      "role": "system",
      "content": "Be precise and concise."
    },
    {
      "role": "user",
      "content": "Private Prompt"
    }
  ]
}

```

This was my old code:

```auto
{
  "model": "llama-3.1-sonar-small-128k-online",
  "messages": [
    {
      "role": "system",
      "content": "Be precise and concise."
    },
    {
      "role": "user",
      "content": "Private Prompt."
    }
  ]
}

```

As you can see, I have only adapted the model name. Everything worked before, but now I only get a network timeout at: [https://api.perplexity.ai/chat/completions](https://api.perplexity.ai/chat/completions)

---

<div class="post-metadata">

### Author: ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)
#### Post date: [May 15, 2025, 12:17am UTC](https://community.perplexity.ai/t/after-updating-network-timeout-at-https-api-perplexity-ai-chat-completions/109/2 "2025-05-15T00:17:03Z")

</div>

same issue is with me too!!

---

<div class="post-metadata">

### Author: ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)
#### Post date: [May 15, 2025, 12:17am UTC](https://community.perplexity.ai/t/after-updating-network-timeout-at-https-api-perplexity-ai-chat-completions/109/3 "2025-05-15T00:17:05Z")

</div>

Same issue for the sonar model with timeout  
but for the sonar-pro I get “unknown”

---

<div class="post-metadata">

### Author: ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)
#### Post date: [May 15, 2025, 12:17am UTC](https://community.perplexity.ai/t/after-updating-network-timeout-at-https-api-perplexity-ai-chat-completions/109/4 "2025-05-15T00:17:07Z")

</div>

UPDATE:  
it works by removing these properties: max\_tokens, temperature (tested for the sonar-pro)

---

<div class="post-metadata">

### Author: ![vikvang](https://avatars.discourse-cdn.com/v4/letter/v/67e7ee/32.png) [@vikvang](https://community.perplexity.ai/u/vikvang)
#### Post date: [May 15, 2025, 12:17am UTC](https://community.perplexity.ai/t/after-updating-network-timeout-at-https-api-perplexity-ai-chat-completions/109/5 "2025-05-15T00:17:09Z")

</div>

I have found my solution:  
I accessed Sonar via Retool and the network timeout was automatically canceled due to a timeout setting that was too low.
