# 500 Internal Server Error

**URL:** <https://community.perplexity.ai/t/500-internal-server-error/2812>\
**Category:** Bug Reports\
**Created:** [November 25, 2025, 2:37pm UTC](https://community.perplexity.ai/t/500-internal-server-error/2812 "2025-11-25T14:37:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/lars/32/1931_2.png) [@Lars](https://community.perplexity.ai/u/Lars)\
**Post date:** [November 25, 2025, 2:37pm UTC](https://community.perplexity.ai/t/500-internal-server-error/2812/1 "2025-11-25T14:37:32Z")

</div>

## 🐛 Describe the Bug

I’ve been working with perplexity for over a year now and never got any errors, today I suddently keep getting 500 errors with the API.

## ✅ Expected Behavior

Return a normal JSON response.

❌ Actual Behavior

I have changed nothing on my end, the request just keeps failing after like a minute.

## 📌 API Request & Response (if applicable)

## 🌍 Environment

- **API Version:** sonar-reasoning-pro
- **SDK (if applicable):** NodeJS V22.14
- **Operating System:** Windows & Linux

## 📎 Logs or Screenshots (if applicable)

0|worker | {  
0|worker | error: {  
0|worker | message: ‘An internal server error has occurred.’,  
0|worker | type: ‘internal\_server\_error’,  
0|worker | code: 500  
0|worker | }  
0|worker | }  
0|worker | [Worker] Error: Cannot read properties of undefined (reading ‘0’)  
0|worker | result null

## 📝 Additional Context

nope

---

<div class="post-metadata">

**Author:** ![Kesku](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/kesku/32/898_2.png) [@Kesku](https://community.perplexity.ai/u/Kesku)\
**Post date:** [April 7, 2026, 2:41pm UTC](https://community.perplexity.ai/t/500-internal-server-error/2812/2 "2026-04-07T14:41:48Z")

</div>

Hey @Lars — this report is from November 2025, and intermittent 500 errors at that time were related to a transient infrastructure issue that has since been resolved.

If you are still experiencing 500 errors, please open a new thread with the details (model, request payload, frequency) or email **api@perplexity.ai** and the team can investigate.

General tip for production usage: implement retry logic with exponential backoff for 5xx errors — these are almost always transient.
