1146 1146
1147 A customer-safe error. Non-null only for a failed turn.1147 A customer-safe error. Non-null only for a failed turn.
1148 1148
11491149 - `code: "context_length_exceeded" or "session_budget_exceeded" or "usage_limit_exceeded" or 16 more` - `code: "context_length_exceeded" or "session_budget_exceeded" or "usage_limit_exceeded" or 19 more`
1150 1150
1151 A stable, machine-readable failure category.1151 A stable, machine-readable failure category.
1152 1152
1162 1162
1163 The organization has reached a usage, plan, or billing limit.1163 The organization has reached a usage, plan, or billing limit.
1164 1164
1165 - `"project_spend_limit_exceeded"`
1166
1167 The project has reached its enforced spend limit.
1168
1169 - `"organization_spend_limit_exceeded"`
1170
1171 The organization has reached its enforced spend limit.
1172
1173 - `"organization_usage_limit_exceeded"`
1174
1175 The organization has reached its OpenAI-assigned usage limit.
1176
1165 - `"credit_balance_exhausted"`1177 - `"credit_balance_exhausted"`
1166 1178
1167 The organization has no API credits remaining.1179 The organization has no API credits remaining.
1397 1409
1398 A customer-safe error. Non-null only for a failed turn.1410 A customer-safe error. Non-null only for a failed turn.
1399 1411
14001412 - `code: "context_length_exceeded" or "session_budget_exceeded" or "usage_limit_exceeded" or 16 more` - `code: "context_length_exceeded" or "session_budget_exceeded" or "usage_limit_exceeded" or 19 more`
1401 1413
1402 A stable, machine-readable failure category.1414 A stable, machine-readable failure category.
1403 1415
1413 1425
1414 The organization has reached a usage, plan, or billing limit.1426 The organization has reached a usage, plan, or billing limit.
1415 1427
1428 - `"project_spend_limit_exceeded"`
1429
1430 The project has reached its enforced spend limit.
1431
1432 - `"organization_spend_limit_exceeded"`
1433
1434 The organization has reached its enforced spend limit.
1435
1436 - `"organization_usage_limit_exceeded"`
1437
1438 The organization has reached its OpenAI-assigned usage limit.
1439
1416 - `"credit_balance_exhausted"`1440 - `"credit_balance_exhausted"`
1417 1441
1418 The organization has no API credits remaining.1442 The organization has no API credits remaining.
1648 1672
1649 A customer-safe error. Non-null only for a failed turn.1673 A customer-safe error. Non-null only for a failed turn.
1650 1674
16511675 - `code: "context_length_exceeded" or "session_budget_exceeded" or "usage_limit_exceeded" or 16 more` - `code: "context_length_exceeded" or "session_budget_exceeded" or "usage_limit_exceeded" or 19 more`
1652 1676
1653 A stable, machine-readable failure category.1677 A stable, machine-readable failure category.
1654 1678
1664 1688
1665 The organization has reached a usage, plan, or billing limit.1689 The organization has reached a usage, plan, or billing limit.
1666 1690
1691 - `"project_spend_limit_exceeded"`
1692
1693 The project has reached its enforced spend limit.
1694
1695 - `"organization_spend_limit_exceeded"`
1696
1697 The organization has reached its enforced spend limit.
1698
1699 - `"organization_usage_limit_exceeded"`
1700
1701 The organization has reached its OpenAI-assigned usage limit.
1702
1667 - `"credit_balance_exhausted"`1703 - `"credit_balance_exhausted"`
1668 1704
1669 The organization has no API credits remaining.1705 The organization has no API credits remaining.
1914 1950
1915 A customer-safe error. Non-null only for a failed turn.1951 A customer-safe error. Non-null only for a failed turn.
1916 1952
19171953 - `code: "context_length_exceeded" or "session_budget_exceeded" or "usage_limit_exceeded" or 16 more` - `code: "context_length_exceeded" or "session_budget_exceeded" or "usage_limit_exceeded" or 19 more`
1918 1954
1919 A stable, machine-readable failure category.1955 A stable, machine-readable failure category.
1920 1956
1930 1966
1931 The organization has reached a usage, plan, or billing limit.1967 The organization has reached a usage, plan, or billing limit.
1932 1968
1969 - `"project_spend_limit_exceeded"`
1970
1971 The project has reached its enforced spend limit.
1972
1973 - `"organization_spend_limit_exceeded"`
1974
1975 The organization has reached its enforced spend limit.
1976
1977 - `"organization_usage_limit_exceeded"`
1978
1979 The organization has reached its OpenAI-assigned usage limit.
1980
1933 - `"credit_balance_exhausted"`1981 - `"credit_balance_exhausted"`
1934 1982
1935 The organization has no API credits remaining.1983 The organization has no API credits remaining.
2180 2228
2181 A customer-safe error. Non-null only for a failed turn.2229 A customer-safe error. Non-null only for a failed turn.
2182 2230
21832231 - `code: "context_length_exceeded" or "session_budget_exceeded" or "usage_limit_exceeded" or 16 more` - `code: "context_length_exceeded" or "session_budget_exceeded" or "usage_limit_exceeded" or 19 more`
2184 2232
2185 A stable, machine-readable failure category.2233 A stable, machine-readable failure category.
2186 2234
2196 2244
2197 The organization has reached a usage, plan, or billing limit.2245 The organization has reached a usage, plan, or billing limit.
2198 2246
2247 - `"project_spend_limit_exceeded"`
2248
2249 The project has reached its enforced spend limit.
2250
2251 - `"organization_spend_limit_exceeded"`
2252
2253 The organization has reached its enforced spend limit.
2254
2255 - `"organization_usage_limit_exceeded"`
2256
2257 The organization has reached its OpenAI-assigned usage limit.
2258
2199 - `"credit_balance_exhausted"`2259 - `"credit_balance_exhausted"`
2200 2260
2201 The organization has no API credits remaining.2261 The organization has no API credits remaining.