> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flatpeak.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Server error

> This page is returned when an error has occurred inside the Connect service.

This page is returned when an error occurs in the Connect service. When this happens, we recommend rendering the page below and providing the customer with a way to return to the previous page.

<Tabs>
  <Tab title="Preview">
    <Frame>
      <img src="https://mintcdn.com/flatpeak/R_LWNRztMA209Dv3/images/20-error.png?fit=max&auto=format&n=R_LWNRztMA209Dv3&q=85&s=4fd501a43f60b3b5f4795f71ca8d3b0d" style={{ width: "200px" }} width="375" height="852" data-path="images/20-error.png" />
    </Frame>
  </Tab>

  <Tab title="Code">
    <Note>contract\_end\_date\` shall be returned in in RFC3339 format e.g. 2024-06-15T00:00:00Z. i.e. UTC.</Note>

    <CodeGroup>
      ```json Connect response theme={"system"}
      {
        "connect_token": "cot_6587fa4362341be5b524de3b",
        "object": "error",
        "live_mode": false,
        "context": "connect.<route_name_where_error_occurred>",
        "type": "connect_error",
        "code": "server_error",
        "message": "A server error has occurred.",
        "time_created": "2024-01-24T14:15:22.003"
      }
      ```
    </CodeGroup>
  </Tab>
</Tabs>
