ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

Unhandled 500 Internal Server Error on /backend-api/f/conversation Endpoint

Open Mothilal-M opened this issue 10 months ago • 1 comments

500 Internal Server Error - Conversation Endpoint Issue

Problem Summary

I encountered a persistent 500 Internal Server Error when attempting to send a message via the conversation endpoint. The server response provides a generic error message ("Hmm...something seems to have gone wrong.") without specific error codes or actionable details.

Reproduction Details

API Endpoint: https://chatgpt.com/backend-api/f/conversation

Status Code: 500 Internal Server Error

Request Payload

{
    "action": "variant",
    "conversation_id": "69818f3d-f830-8322-a7ac-915263a92080",
    "parent_message_id": "b6b75ae2-3161-4589-afaa-dee40acb121f",
    "model": "gpt-5-2",
    "timezone_offset_min": -330,
    "timezone": "Asia/Calcutta",
    "variant_purpose": "none",
    "conversation_mode": {
        "kind": "primary_assistant"
    },
    "enable_message_followups": true,
    "system_hints": [],
    "supports_buffering": true,
    "supported_encodings": ["v1"],
    "client_contextual_info": {
        "is_dark_mode": true,
        "time_since_loaded": 1793,
        "page_height": 912,
        "page_width": 862,
        "pixel_ratio": 2,
        "screen_height": 1000,
        "screen_width": 1600,
        "app_name": "chatgpt.com"
    },
    "paragen_cot_summary_display_override": "allow",
    "force_parallel_switch": "auto"
}

Response Body

{"detail": "Hmm...something seems to have gone wrong."}

Expected Behavior & Analysis

The backend should handle exceptions gracefully. If the request is invalid, a 4xx error with a descriptive message should be returned. A 500 error implies an unhandled server-side exception.

This negatively impacts the User Experience (UX); regular users receive a generic error UI without context, and developers debugging the issue are left without a trace ID or specific error cause to reference.

Mothilal-M avatar Feb 03 '26 21:02 Mothilal-M

It happens the same with me

Edge-EMS avatar Feb 03 '26 21:02 Edge-EMS