Skip to content

Commit 63e03a1

Browse files
authored
Fix broken links and remove custom anchor (supabase#40298)
Fix broken link, (remove custom anchor + link to docs instead of anchor) for Github discussions
1 parent 683c1b5 commit 63e03a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/docs/content/troubleshooting/dashboard-errors-when-managing-users-N1ls4A.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ These error are normal a side effect of issues in your custom user management lo
7272

7373
Use the hints provided in the error message to fix issues in your custom user management logic.
7474

75-
**Trigger/trigger function related error messages** - [Solution for trigger related issues](#solution-trigger)
75+
**Trigger/trigger function related error messages** - [Solution for trigger related issues](/docs/guides/troubleshooting/dashboard-errors-when-managing-users-N1ls4A#solution-for-trigger-related-issues)
7676

7777
```
7878
"error":"error update user`s last_sign_in field: ERROR: permission denied for table profiles (SQLSTATE 42501)"
7979
```
8080

81-
**Constraint related error message** - [Solution for constraint related issues](#solution-constraint)
81+
**Constraint related error message** - [Solution for constraint related issues](/docs/guides/troubleshooting/dashboard-errors-when-managing-users-N1ls4A#solution-for-constraint-related-issues)
8282

8383
```
8484
ERROR: 23503: update or delete on table "users" violates foreign key constraint "profiles_id_fkey" on table "profiles"
@@ -91,23 +91,23 @@ DETAIL: Key (id)=(7428a53c-75b7-4531-9ae9-1567d9c4ac0a) is still referenced fro
9191
ERROR: column \"updated_at\" of relation \"profiles\" does not exist (SQLSTATE 42703)
9292
```
9393

94-
**Broken search path / incorrect name** - [42P01 related solution](docs/guides/troubleshooting/resolving-42p01-relation-does-not-exist-error-W4_9-V)
94+
**Broken search path / incorrect name** - [42P01 related solution](/docs/guides/troubleshooting/resolving-42p01-relation-does-not-exist-error-W4_9-V)
9595

9696
```
9797
failed to close prepared statement: ERROR: current transaction is aborted, commands ignored until end of transaction block (SQLSTATE 25P02): ERROR: relation \"public.profiles\" does not exist (SQLSTATE 42P01)
9898
```
9999

100100
---
101101

102-
## Solution for constraint related issues [#solution-constraint]
102+
## Solution for constraint related issues
103103

104104
- Check for foreign/primary key relationship between the `auth.users` table and another table
105105
- Then ALTER the [behavior](https://stackoverflow.com/questions/5383612/setting-up-table-relations-what-do-cascade-set-null-and-restrict-do) of the relationship and recreate it with a less [restrictive constraint](https://stackoverflow.com/questions/3359329/how-to-change-the-foreign-key-referential-action-behavior).
106106
- If this is related to deleting records, review the [Cascade Deletes doc](/docs/guides/database/postgres/cascade-deletes) for possible approaches (e.g. using `CASCADE` / `SET NULL`)
107107

108108
---
109109

110-
## Solution for trigger related issues [#solution-trigger]
110+
## Solution for trigger related issues
111111

112112
Supabase Auth uses your project's database to store user data. It relies on the `auth` schema, and Supabase restricts access to the `auth` schema to prevent unintended custom changes that could break the functionality of the Auth service.
113113

0 commit comments

Comments
 (0)