From e4f94737d51bbc82f547ef93971cae0d5ed05bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20Ayd=C4=B1n?= Date: Tue, 15 Sep 2026 16:31:30 +0300 Subject: [PATCH] chore: reorder new `RequestReadTimeout` error code --- docs/ErrorCode.md | 2 +- fingerprint_pro_server_api_sdk/models/error_code.py | 4 ++-- res/fingerprint-server-api.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/ErrorCode.md b/docs/ErrorCode.md index 154d9a8d..03cab2ca 100644 --- a/docs/ErrorCode.md +++ b/docs/ErrorCode.md @@ -2,7 +2,6 @@ Error code: * `RequestCannotBeParsed` - the query parameters or JSON payload contains some errors that prevented us from parsing it (wrong type/surpassed limits). - * `RequestReadTimeout` - the request body could not be read before the connection timed out. * `TokenRequired` - `Auth-API-Key` header is missing or empty. * `TokenNotFound` - no Fingerprint application found for specified secret key. * `SubscriptionNotActive` - Fingerprint application is not active. @@ -19,5 +18,6 @@ Error code: after receiving the request id on the client. In case you need to send information right away, we recommend using the JS agent API instead. * `Failed` - internal server error. + * `RequestReadTimeout` - the request body could not be read before the connection timed out. diff --git a/fingerprint_pro_server_api_sdk/models/error_code.py b/fingerprint_pro_server_api_sdk/models/error_code.py index 776f218b..92ba00e9 100644 --- a/fingerprint_pro_server_api_sdk/models/error_code.py +++ b/fingerprint_pro_server_api_sdk/models/error_code.py @@ -17,7 +17,7 @@ class ErrorCode(BaseModel): """ - Error code: * `RequestCannotBeParsed` - the query parameters or JSON payload contains some errors that prevented us from parsing it (wrong type/surpassed limits). * `RequestReadTimeout` - the request body could not be read before the connection timed out. * `TokenRequired` - `Auth-API-Key` header is missing or empty. * `TokenNotFound` - no Fingerprint application found for specified secret key. * `SubscriptionNotActive` - Fingerprint application is not active. * `WrongRegion` - server and application region differ. * `FeatureNotEnabled` - this feature (for example, Delete API) is not enabled for your application. * `WorkspaceScopedSecretKeyRequired` - The provided secret API key is scoped to an environment, but this operation requires a workspace-scoped secret API key. * `RequestNotFound` - the specified request ID was not found. It never existed, expired, or it has been deleted. * `VisitorNotFound` - The specified visitor ID was not found. It never existed or it may have already been deleted. * `TooManyRequests` - the limit on secret API key requests per second has been exceeded. * `429 Too Many Requests` - the limit on secret API key requests per second has been exceeded. * `StateNotReady` - The event specified with request id is not ready for updates yet. Try again. This error happens in rare cases when update API is called immediately after receiving the request id on the client. In case you need to send information right away, we recommend using the JS agent API instead. * `Failed` - internal server error. + Error code: * `RequestCannotBeParsed` - the query parameters or JSON payload contains some errors that prevented us from parsing it (wrong type/surpassed limits). * `TokenRequired` - `Auth-API-Key` header is missing or empty. * `TokenNotFound` - no Fingerprint application found for specified secret key. * `SubscriptionNotActive` - Fingerprint application is not active. * `WrongRegion` - server and application region differ. * `FeatureNotEnabled` - this feature (for example, Delete API) is not enabled for your application. * `WorkspaceScopedSecretKeyRequired` - The provided secret API key is scoped to an environment, but this operation requires a workspace-scoped secret API key. * `RequestNotFound` - the specified request ID was not found. It never existed, expired, or it has been deleted. * `VisitorNotFound` - The specified visitor ID was not found. It never existed or it may have already been deleted. * `TooManyRequests` - the limit on secret API key requests per second has been exceeded. * `429 Too Many Requests` - the limit on secret API key requests per second has been exceeded. * `StateNotReady` - The event specified with request id is not ready for updates yet. Try again. This error happens in rare cases when update API is called immediately after receiving the request id on the client. In case you need to send information right away, we recommend using the JS agent API instead. * `Failed` - internal server error. * `RequestReadTimeout` - the request body could not be read before the connection timed out. NOTE: This class is auto generated by the swagger code generator program. @@ -28,7 +28,6 @@ class ErrorCode(BaseModel): allowed enum values """ REQUESTCANNOTBEPARSED = "RequestCannotBeParsed" - REQUESTREADTIMEOUT = "RequestReadTimeout" TOKENREQUIRED = "TokenRequired" TOKENNOTFOUND = "TokenNotFound" SUBSCRIPTIONNOTACTIVE = "SubscriptionNotActive" @@ -41,6 +40,7 @@ class ErrorCode(BaseModel): _429_TOO_MANY_REQUESTS = "429 Too Many Requests" STATENOTREADY = "StateNotReady" FAILED = "Failed" + REQUESTREADTIMEOUT = "RequestReadTimeout" """ Attributes: swagger_types (dict): The key is attribute name diff --git a/res/fingerprint-server-api.yaml b/res/fingerprint-server-api.yaml index 8da43e07..29a76cd4 100644 --- a/res/fingerprint-server-api.yaml +++ b/res/fingerprint-server-api.yaml @@ -1459,7 +1459,6 @@ components: type: string enum: - RequestCannotBeParsed - - RequestReadTimeout - TokenRequired - TokenNotFound - SubscriptionNotActive @@ -1472,11 +1471,11 @@ components: - 429 Too Many Requests - StateNotReady - Failed + - RequestReadTimeout description: | Error code: * `RequestCannotBeParsed` - the query parameters or JSON payload contains some errors that prevented us from parsing it (wrong type/surpassed limits). - * `RequestReadTimeout` - the request body could not be read before the connection timed out. * `TokenRequired` - `Auth-API-Key` header is missing or empty. * `TokenNotFound` - no Fingerprint application found for specified secret key. * `SubscriptionNotActive` - Fingerprint application is not active. @@ -1493,6 +1492,7 @@ components: after receiving the request id on the client. In case you need to send information right away, we recommend using the JS agent API instead. * `Failed` - internal server error. + * `RequestReadTimeout` - the request body could not be read before the connection timed out. Error: type: object additionalProperties: false