# SYNC_SERVER_ERROR

<!-- Generated by docs/modules/diagnostics from the package catalogs. Write a guide in docs/diagnostics/<CODE>.md instead of editing this file. -->

The server answered with a status of 500 or more. The client tries again later. Read the server log. Only the browser makes this code.

## Source

`SYNC_SERVER_ERROR` belongs to the `sync` package. Its catalog entry is in [`src/errors.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/sync/src/errors.ts#L89). It is raised in [`src/client/store.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/sync/src/client/store.ts#L694), [`src/client/store.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/sync/src/client/store.ts#L725), [`src/client/store.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/sync/src/client/store.ts#L727), [`src/handler.ts`](https://github.com/vite-hub/vitehub/blob/main/packages/sync/src/handler.ts#L793).

See [all Sync diagnostics](https://vitehub.dev/docs/sync/diagnostics).

<!-- vitehub-docs:section-links -->
## In this section

- [Overview](https://vitehub.dev/raw/docs/sync.md)
- [Get started](https://vitehub.dev/raw/docs/sync/get-started.md)
- [Server API](https://vitehub.dev/raw/docs/sync/server-api.md)
- [Limits and errors](https://vitehub.dev/raw/docs/sync/limits-and-errors.md)
- [Vue](https://vitehub.dev/raw/docs/sync/vue.md)

Next: [SYNC_STORE_DESTROYED](https://vitehub.dev/raw/docs/sync/diagnostics/sync_store_destroyed.md)

All pages: [llms.txt](https://vitehub.dev/llms.txt)
