Files
supabase/apps/docs/data/errorCodes/realtimeErrorCodes.json
Miranda Limonczenko 359974d071 fix(docs) Fix local broken links (#48212)
Closes DOCS-1202

## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## Problem

We have broken local links in docs.

I ran locally tests that crawl through all of our docs and flags broken
local links.

## Solution

This PR fixes local links where they were errored. The report I
generated had false-positives, so there are fewer fixes than initially
thought.

## Preview checklist

Docs preview:
https://docs-git-docs-fix-broken-local-links-supabase.vercel.app
WWW preview (redirects):
https://zone-www-dot-com-git-docs-fix-broken-local-links-supabase.vercel.app

| Page | Live (broken) | Preview (fixed) | Where to look |
| --- | --- | --- | --- |
| Amazon Bedrock |
[Live](https://supabase.com/docs/guides/ai/integrations/amazon-bedrock)
|
[Preview](https://docs-git-docs-fix-broken-local-links-supabase.vercel.app/docs/guides/ai/integrations/amazon-bedrock)
| **You'll also need** → `A Postgres database with the pgvector
extension` |
| Getting started |
[Live](https://supabase.com/docs/guides/getting-started) |
[Preview](https://docs-git-docs-fix-broken-local-links-supabase.vercel.app/docs/guides/getting-started)
| Tutorial cards → **Expo React Native Social Auth** |
| Product security |
[Live](https://supabase.com/docs/guides/security/product-security) |
[Preview](https://docs-git-docs-fix-broken-local-links-supabase.vercel.app/docs/guides/security/product-security)
| **Database** list → `Superuser access and unsupported operations` |
| OAuth flows |
[Live](https://supabase.com/docs/guides/auth/oauth-server/oauth-flows) |
[Preview](https://docs-git-docs-fix-broken-local-links-supabase.vercel.app/docs/guides/auth/oauth-server/oauth-flows)
| End of page, before **Next steps** → `OAuth methods in supabase-js` |
| ElevenLabs TTS |
[Live](https://supabase.com/docs/guides/functions/examples/elevenlabs-generate-speech-stream)
|
[Preview](https://docs-git-docs-fix-broken-local-links-supabase.vercel.app/docs/guides/functions/examples/elevenlabs-generate-speech-stream)
| **Dependencies** → ElevenLabs `JavaScript SDK` |
| ElevenLabs STT |
[Live](https://supabase.com/docs/guides/functions/examples/elevenlabs-transcribe-speech)
|
[Preview](https://docs-git-docs-fix-broken-local-links-supabase.vercel.app/docs/guides/functions/examples/elevenlabs-transcribe-speech)
| **Dependencies** → ElevenLabs `JavaScript SDK` |
| Realtime error codes |
[Live](https://supabase.com/docs/guides/realtime/error_codes) |
[Preview](https://docs-git-docs-fix-broken-local-links-supabase.vercel.app/docs/guides/realtime/error_codes)
| `RealtimeDisabledForTenant` → reference link |
| Expo social auth redirect (legacy) |
[Live](https://supabase.com/docs/guides/with-expo-social-auth) |
[Preview](https://zone-www-dot-com-git-docs-fix-broken-local-links-supabase.vercel.app/docs/guides/with-expo-social-auth)
| Should land on the Expo social auth quickstart |
| Expo social auth redirect (old tutorials path) |
[Live](https://supabase.com/docs/guides/getting-started/tutorials/with-expo-social-auth)
|
[Preview](https://zone-www-dot-com-git-docs-fix-broken-local-links-supabase.vercel.app/docs/guides/getting-started/tutorials/with-expo-social-auth)
| Should land on the Expo social auth quickstart |

### Manual testing

1. For each row, open the **Live** link and find the linked text in
**Where to look**.
2. Click the link and confirm it 404s or lands on the wrong page.
3. Open the matching **Preview** link, find the same linked text, and
click it.
4. Confirm the preview link resolves to the correct destination:
   - Amazon Bedrock → `/docs/guides/database/extensions/pgvector`
- Getting started →
`/docs/guides/auth/quickstarts/with-expo-react-native-social-auth`
   - Product security → `/docs/guides/database/postgres/roles-superuser`
   - OAuth flows → `/docs/reference/javascript/auth-admin-oauth-server`
- ElevenLabs TTS / STT → `https://github.com/elevenlabs/elevenlabs-js`
- Realtime error codes →
`/docs/guides/troubleshooting/realtime-project-suspended-for-exceeding-quotas`
- Redirect rows →
`/docs/guides/auth/quickstarts/with-expo-react-native-social-auth`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Updated links for pgvector, OAuth, ElevenLabs SDK, and database
security guidance.
  * Corrected the Expo React Native social authentication tutorial link.
* Updated Realtime troubleshooting references to the current
documentation path.

* **Bug Fixes**
* Fixed redirects for Expo social authentication guides so legacy URLs
reach the correct quickstart.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-22 11:49:04 -07:00

214 lines
8.6 KiB
JSON

{
"TopicNameRequired": {
"description": "You are trying to use Realtime without a topic name set."
},
"RealtimeDisabledForConfiguration": {
"description": "The configuration provided to Realtime on connect will not be able to provide you any Postgres Changes.",
"resolution": "Verify your configuration on channel startup as you might not have your tables properly registered."
},
"TenantNotFound": {
"description": "The tenant you are trying to connect to does not exist.",
"resolution": "Verify the tenant name you are trying to connect to exists in the realtime.tenants table."
},
"ErrorConnectingToWebsocket": {
"description": "Error when trying to connect to the WebSocket server.",
"resolution": "Verify user information on connect."
},
"ErrorAuthorizingWebsocket": {
"description": "Error when trying to authorize the WebSocket connection.",
"resolution": "Verify user information on connect."
},
"TableHasSpacesInName": {
"description": "The table you are trying to listen to has spaces in its name which we are unable to support.",
"resolution": "Change the table name to not have spaces in it."
},
"UnableToDeleteTenant": {
"description": "Error when trying to delete a tenant."
},
"UnableToSetPolicies": {
"description": "Error when setting up Authorization Policies."
},
"UnableCheckoutConnection": {
"description": "Error when trying to checkout a connection from the tenant pool."
},
"UnableToSubscribeToPostgres": {
"description": "Error when trying to subscribe to Postgres changes."
},
"ReconnectSubscribeToPostgres": {
"description": "Postgres changes still waiting to be subscribed."
},
"ChannelRateLimitReached": {
"description": "The number of channels you can create has reached its limit."
},
"ConnectionRateLimitReached": {
"description": "The number of connected clients has reached its limit."
},
"ClientJoinRateLimitReached": {
"description": "The rate of joins per second from your clients has reached the channel limits."
},
"RealtimeDisabledForTenant": {
"description": "Realtime has been disabled for the tenant.",
"resolution": "Your project may have been suspended for exceeding usage quotas. Contact support with your project reference ID and a description of your Realtime use case.",
"references": [
{
"href": "https://supabase.com/docs/guides/troubleshooting/realtime-project-suspended-for-exceeding-quotas",
"description": "Troubleshooting guide for suspended projects"
}
]
},
"UnableToConnectToTenantDatabase": {
"description": "Realtime was not able to connect to the tenant's database."
},
"DatabaseLackOfConnections": {
"description": "Realtime was not able to connect to the tenant's database due to not having enough available connections.",
"resolution": "Verify your database connection limits.",
"references": [
{
"href": "https://supabase.com/docs/guides/database/connection-management",
"description": "Connection management guide"
}
]
},
"RealtimeNodeDisconnected": {
"description": "Realtime is a distributed application and this means that one the system is unable to communicate with one of the distributed nodes."
},
"MigrationsFailedToRun": {
"description": "Error when running the migrations against the Tenant database that are required by Realtime."
},
"StartListenAndReplicationFailed": {
"description": "Error when starting the replication and listening of errors for database broadcasting."
},
"ReplicationMaxWalSendersReached": {
"description": "Maximum number of WAL senders reached in tenant database.",
"references": [
{
"href": "https://supabase.com/docs/guides/database/custom-postgres-config#cli-configurable-settings",
"description": "Configuring max WAL senders"
}
]
},
"MigrationCheckFailed": {
"description": "Check to see if we require to run migrations fails."
},
"PartitionCreationFailed": {
"description": "Error when creating partitions for realtime.messages."
},
"ErrorStartingPostgresCDCStream": {
"description": "Error when starting the Postgres CDC stream which is used for Postgres Changes."
},
"UnknownDataProcessed": {
"description": "An unknown data type was processed by the Realtime system."
},
"ErrorStartingPostgresCDC": {
"description": "Error when starting the Postgres CDC extension which is used for Postgres Changes."
},
"ReplicationSlotBeingUsed": {
"description": "The replication slot is being used by another transaction."
},
"PoolingReplicationPreparationError": {
"description": "Error when preparing the replication slot."
},
"PoolingReplicationError": {
"description": "Error when pooling the replication slot."
},
"SubscriptionDeletionFailed": {
"description": "Error when trying to delete a subscription for postgres changes."
},
"UnableToDeletePhantomSubscriptions": {
"description": "Error when trying to delete subscriptions that are no longer being used."
},
"UnableToCheckProcessesOnRemoteNode": {
"description": "Error when trying to check the processes on a remote node."
},
"UnableToCreateCounter": {
"description": "Error when trying to create a counter to track rate limits for a tenant."
},
"UnableToIncrementCounter": {
"description": "Error when trying to increment a counter to track rate limits for a tenant."
},
"UnableToDecrementCounter": {
"description": "Error when trying to decrement a counter to track rate limits for a tenant."
},
"UnableToUpdateCounter": {
"description": "Error when trying to update a counter to track rate limits for a tenant."
},
"UnableToFindCounter": {
"description": "Error when trying to find a counter to track rate limits for a tenant."
},
"UnhandledProcessMessage": {
"description": "Unhandled message received by a Realtime process."
},
"UnableToTrackPresence": {
"description": "Error when handling track presence for this socket."
},
"UnknownPresenceEvent": {
"description": "Presence event type not recognized by service."
},
"IncreaseConnectionPool": {
"description": "The number of connections you have set for Realtime are not enough to handle your current use case."
},
"RlsPolicyError": {
"description": "Error on RLS policy used for authorization."
},
"ConnectionInitializing": {
"description": "Database is initializing connection."
},
"DatabaseConnectionIssue": {
"description": "Database had connection issues and connection was not able to be established."
},
"UnableToConnectToProject": {
"description": "Unable to connect to Project database."
},
"InvalidJWTExpiration": {
"description": "JWT exp claim value it's incorrect."
},
"JwtSignatureError": {
"description": "JWT signature was not able to be validated."
},
"MalformedJWT": {
"description": "Token received does not comply with the JWT format."
},
"Unauthorized": {
"description": "Unauthorized access to Realtime channel."
},
"RealtimeRestarting": {
"description": "Realtime is currently restarting."
},
"UnableToProcessListenPayload": {
"description": "Payload sent in NOTIFY operation was not JSON parsable."
},
"UnableToListenToTenantDatabase": {
"description": "Unable to LISTEN for notifications against the Tenant Database."
},
"UnprocessableEntity": {
"description": "Received a HTTP request with a body that was not able to be processed by the endpoint."
},
"InitializingProjectConnection": {
"description": "Connection against Tenant database is still starting."
},
"TimeoutOnRpcCall": {
"description": "RPC request within the Realtime server has timed out."
},
"ErrorOnRpcCall": {
"description": "Error when calling another realtime node."
},
"ErrorExecutingTransaction": {
"description": "Error executing a database transaction in tenant database."
},
"SynInitializationError": {
"description": "Our framework to syncronize processes has failed to properly startup a connection to the database."
},
"JanitorFailedToDeleteOldMessages": {
"description": "Scheduled task for realtime.message cleanup was unable to run."
},
"UnableToEncodeJson": {
"description": "An error were we are not handling correctly the response to be sent to the end user."
},
"UnknownErrorOnController": {
"description": "An error we are not handling correctly was triggered on a controller."
},
"UnknownErrorOnChannel": {
"description": "An error we are not handling correctly was triggered on a channel."
}
}