// libSQL error reference

402 Payment Required: 402 Payment Required

Turso's API returned 402 when the account is past its plan limits or payment lapsed; check billing and plan quotas.

오류
402 Payment Required
카테고리
Remote server and Hrana errors
오류 메시지
Server returned HTTP status 402 Payment Required

의미

Turso's response-code reference lists 402 as payment required, with the advice to check you have an active subscription. Distinguish it from 429: 429 is a rate or quota burst, 402 means the account itself is not in good standing.

일반적인 원인

  • Subscription lapsed or payment failed.
  • The free or paid plan no longer covers the resource you are using.

Find the cause

Open the billing portal with `turso org billing` and check the plan with `turso plan show`. Distinguish the three money-adjacent failures: 402 means the account is not in good standing, `BLOCKED` means a monthly quota is exhausted, 429 means a burst rate limit.

해결 방법

  1. Check plan and billing in the Turso dashboard, then retry.

Other ways to handle it

Fix the account state, or change plan with turso plan select <plan> 또는 turso plan upgrade. If overages are the surprise, turso plan overages enable/disable controls whether usage past the quota bills.

안전하게 재현하세요

Needs an account actually past its billing: there is no honest repro without one, and the docs mapping (402 means you should check you have an active subscription) is the verifiable part. Do not fabricate a billing failure locally.

질문

What is the difference between 402, 429, and BLOCKED on Turso?

402 means the account itself is not in good standing (subscription lapsed or payment failed). 429 is a short-term request-rate limit. BLOCKED means a monthly usage quota (row reads, row writes, storage) is exhausted.

How do I fix a 402 from Turso?

열기 turso org billing and resolve the subscription or payment, then retry. No connection or query change fixes a billing-state failure.

관련 오류

More remote server and hrana errors errors

코드와 메시지 텍스트의 출처는 다음과 같습니다 libSQL / Turso documentation. 전체 목록은 libSQL error list 또는 모든 데이터베이스 오류 검색.

// 오류는 줄이고, 수정은 빠르게

Work on libSQL in SQLly

A native SQL client for macOS, Windows and Linux with schema-aware IntelliSense, guardrails for risky statements and clear error messages, for libSQL and the other databases you use.

이 페이지의 텍스트와 데이터: CC BY 4.0, 출처: SQLly (sqlly.app). 코드와 SQL 스니펫: MIT. 라이선스 세부 정보 인용된 오류 메시지 텍스트의 권리는 해당 데이터베이스 공급업체에 있습니다.