Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/ErrorCode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.


4 changes: 2 additions & 2 deletions fingerprint_pro_server_api_sdk/models/error_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -28,7 +28,6 @@ class ErrorCode(BaseModel):
allowed enum values
"""
REQUESTCANNOTBEPARSED = "RequestCannotBeParsed"
REQUESTREADTIMEOUT = "RequestReadTimeout"
TOKENREQUIRED = "TokenRequired"
TOKENNOTFOUND = "TokenNotFound"
SUBSCRIPTIONNOTACTIVE = "SubscriptionNotActive"
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions res/fingerprint-server-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,6 @@ components:
type: string
enum:
- RequestCannotBeParsed
- RequestReadTimeout
- TokenRequired
- TokenNotFound
- SubscriptionNotActive
Expand All @@ -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.
Expand All @@ -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
Expand Down
Loading