500 Internal Server Error

:bug: 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.

:white_check_mark: Expected Behavior

Return a normal JSON response.

:cross_mark: Actual Behavior

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

:pushpin: API Request & Response (if applicable)

:globe_showing_europe_africa: Environment

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

:paperclip: 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

:memo: Additional Context

nope

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.