BigdataClientError

Base exception for all BigdataClient exceptions.

Contact support if this exception is raised.

RequestMaxLimitExceeds

Request body size limit is set to 64KB (65536 bytes). In cases when the request body size exceeds 64KB, this exception will be thrown.

Any method that sends requests can throw this exception.

Solution: Please identify the method that caused the error and craft a smaller request.

  • Search methods: You could create several smaller and more concrete queries.
  • Knowledge Graph methods or Watchlist methods: You could split the list of parameters and call the same method multiple times.

BigdataClientRateLimitError

Too many requests in a short period of time. These are the current Bigdata.com platform rate limits:

  • 500 requests per minute per JWT session (We advise customers to instantiate a single Bigdata object per user).
  • 1500 requests per minute per IP.
  • Too many simultaneous uploads per user (By default 10 and customizable per organization).

Solution: Adapt your code to make fewer requests.

BigdataClientAuthFlowError

Generic error for authentication flow when the problem is not related to the rate limit. Possible causes:

  • Invalid credentials.
  • Invalid sign-in configuration.
  • Other authentication issues.

Solution: Check the error message for more information. Contact support if necessary.

BigdataClientTooManySignInAttemptsError

Too many sign-in attempts in a short period of time from the same IP address.

  • 7 requests per 10 seconds is a theoretical limit.

Solution: Reuse the Bigdata instance across your project instead of creating it many times. In the case of distributed systems, consider a backoff strategy for retries.

BigdataClientIncompatibleStateError

The current state of the object doesn’t allow the operation to be executed.

Solution: If raised when deleting/tagging/sharing a file: It means that the action can’t happen until it finishes processing.

BigdataClientSimilarityPayloadTooLarge

The payload for the similarity search is too large.

Solution: Reduce the size of the payload.

BigdataClientChatError

Generic error for chat operations.

Solution: Check the error message for more information.

BigdataClientChatNotFound

Chat does not exist.

BigdataClientChatInvalidQuestion

Allowed message length from MIN_CHAT_QUESTION_LENGTH to MAX_CHAT_QUESTION_LENGTH characters. Actual: message_length.