HTTP 102 Processing vs 402 Payment Required
HTTP 102 (Processing) is a 1xx Informational response, while 402 (Payment Required) is a 4xx Client Error response. 102 indicates that the server has received and is processing the request, but no response is available yet. Prevents the client from timing out. In contrast, 402 means that reserved for future use. Originally intended for digital payment systems, some APIs use it to indicate a billing or subscription issue.
Описание
The server has received and is processing the request, but no response is available yet. Prevents the client from timing out.
Когда вы это видите
During long-running WebDAV operations.
Как исправить
Wait for the final response. This is an interim status to prevent timeouts.
Описание
Reserved for future use. Originally intended for digital payment systems, some APIs use it to indicate a billing or subscription issue.
Когда вы это видите
On some APIs when a subscription has expired or payment is needed.
Как исправить
Check your billing status, update payment method, or upgrade your subscription.
Ключевые различия
102 is a 1xx Informational response, while 402 is a 4xx Client Error response.
HTTP 102: The server has received and is processing the request, but no response is available yet. Prevents the client from timing out.
HTTP 402: Reserved for future use. Originally intended for digital payment systems, some APIs use it to indicate a billing or subscription issue.
You encounter 102 when during long-running WebDAV operations.
You encounter 402 when on some APIs when a subscription has expired or payment is needed.
Когда что использовать
For 102 (Processing): Wait for the final response. This is an interim status to prevent timeouts. For 402 (Payment Required): Check your billing status, update payment method, or upgrade your subscription.