Skip to content
Back to skills

549 Errors B76b996d

ASecurity

**Error Message:** ``` Invalid JWT: expired or malformed ``` **Cause:** JWT token has expired or is incorrectly formatted **Solution:** ```bash Check token expiry with supabase.auth.getSession() and call refreshSession() if needed ``` --- **Error Message:** ``` new row violates row-level security policy for table ``` **Cause:** Row Level Security (RLS) policy is blocking the operation **Solution:** Check RLS policies in dashboard or via pg_policies table. Ensure user has required role. --- **...

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
toolstypescriptbashsecurity

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 549-errors_b76b996d --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 549 Errors B76b996d?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 549 Errors B76b996d
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-549-errors-b76b996d/badge)](https://www.skillsdirectory.com/skills/tools-only-549-errors-b76b996d)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Error Handling Reference

### Invalid JWT
**Error Message:**
```
Invalid JWT: expired or malformed
```

**Cause:** JWT token has expired or is incorrectly formatted

**Solution:**
```bash
Check token expiry with supabase.auth.getSession() and call refreshSession() if needed
```

---

### RLS Policy Violation
**Error Message:**
```
new row violates row-level security policy for table
```

**Cause:** Row Level Security (RLS) policy is blocking the operation

**Solution:**
Check RLS policies in dashboard or via pg_policies table. Ensure user has required role.

---

### Connection Pool Exhausted
**Error Message:**
```
too many clients already
```

**Cause:** Connection pool limit reached due to too many concurrent connections

**Solution:**
```typescript
Use connection pooling mode in Supabase dashboard. Switch to Session mode or pgBouncer.
```

Files in this skill

  • README.md1 KB
  • skill.md855 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…