---
sidebar:
  hidden: true
title: roboto.exceptions
---
Exceptions the SDK raises when Roboto rejects a request or fails to complete it.

Any request can fail in the following ways, so method docstrings do not list them:

- [`RobotoUnauthorizedException`](/docs/reference/python-sdk/roboto/exceptions#roboto.exceptions.RobotoUnauthorizedException): the caller lacks permission for the request.
- [`RobotoAuthenticationFailureException`](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoAuthenticationFailureException): the caller's token is expired or malformed. Import it from `roboto.exceptions.domain`.
- [`RobotoNoOrgProvidedException`](/docs/reference/python-sdk/roboto/exceptions#roboto.exceptions.RobotoNoOrgProvidedException): the request needs an organization, the caller belongs to more than one, and the request named none.
- [`RobotoServiceException`](/docs/reference/python-sdk/roboto/exceptions#roboto.exceptions.RobotoServiceException): Roboto failed unexpectedly.
- [`RobotoServiceUnavailableException`](/docs/reference/python-sdk/roboto/exceptions#roboto.exceptions.RobotoServiceUnavailableException): Roboto could not accept the request, such as under heavy load. Retrying later may succeed.

Each is a subclass of [`RobotoDomainException`](/docs/reference/python-sdk/roboto/exceptions#roboto.exceptions.RobotoDomainException).

## Submodules

- [roboto.exceptions.domain](/docs/reference/python-sdk/roboto/exceptions/domain)
- [roboto.exceptions.http](/docs/reference/python-sdk/roboto/exceptions/http)
- [roboto.exceptions.ingestion](/docs/reference/python-sdk/roboto/exceptions/ingestion)

## Package Contents

- [ClientError](/docs/reference/python-sdk/roboto/exceptions/http#roboto.exceptions.http.ClientError) (exception): The server rejected the request and responded with a 4xx status.

- [HttpError](/docs/reference/python-sdk/roboto/exceptions/http#roboto.exceptions.http.HttpError) (exception): Base class of the exceptions the SDK raises when an HTTP response has an error status.

- [IngestionException](/docs/reference/python-sdk/roboto/exceptions/ingestion#roboto.exceptions.ingestion.IngestionException) (exception): Base class of the exceptions the SDK raises when it cannot create a topic from local data, such as a DataFrame.

- [ReadPlanExecutionErrorKind](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.ReadPlanExecutionErrorKind) (class): Reason a read of a topic's data through its read plan cannot continue.

- [RobotoConditionException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoConditionException) (exception): A condition the request depends on does not hold, such as the organization having an AI model it can use.

- [RobotoConflictException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoConflictException) (exception): The request conflicts with an existing resource, such as by giving a name another resource already has.

- [RobotoContextTooLongException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoContextTooLongException) (exception): A conversation with Roboto's AI is longer than the AI model can read at once.

- [RobotoDatasetNotFoundException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoDatasetNotFoundException) (exception): The dataset the request names does not exist, or the caller cannot see it.

- [RobotoDeprecatedException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoDeprecatedException) (exception): The request uses something Roboto has retired, such as a token in a format it no longer accepts.

- [RobotoDeviceNotFoundException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoDeviceNotFoundException) (exception): The device the request names does not exist, or the caller cannot see it.

- [RobotoDomainException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoDomainException) (exception): Base class of the exceptions the SDK raises when Roboto refuses a request or fails to complete it.

- [RobotoExpiredException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoExpiredException) (exception): The resource the request names is missing or has expired.

- [RobotoFailedToGenerateException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoFailedToGenerateException) (exception): Roboto failed to generate something the request asked for, such as an AI summary.

- [RobotoFeatureNotAvailableException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoFeatureNotAvailableException) (exception): The request uses a feature that is not enabled for the caller.

- [RobotoHttpExceptionParse](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoHttpExceptionParse) (class): Context manager that re-raises an HTTP error from its body as the matching Roboto exception.

- [RobotoIllegalArgumentException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoIllegalArgumentException) (exception): An argument or request parameter has a value Roboto or the SDK rejects.

- [RobotoInternalException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoInternalException) (exception): Roboto failed because of an error in its own code or data, which retrying is unlikely to fix.

- [RobotoInvalidRequestException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoInvalidRequestException) (exception): Roboto rejected the request as invalid, such as a request body that fails validation.

- [RobotoInvalidStateTransitionException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoInvalidStateTransitionException) (exception): A resource cannot reach the state an operation needs from the state it is in.

- [RobotoLayoutConflictException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoLayoutConflictException) (exception): Several layouts the caller can see have the name the request looks up, so the name alone picks none of them.

- [RobotoLimitExceededException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoLimitExceededException) (exception): The request would take the user or organization past a limit on a resource, such as AI credits.

- [RobotoNoOrgProvidedException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoNoOrgProvidedException) (exception): The request needs an organization, the caller belongs to more than one, and the request named none.

- [RobotoNotFoundException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoNotFoundException) (exception): A resource the request names does not exist, or the caller cannot see it.

- [RobotoNotImplementedException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoNotImplementedException) (exception): The request asks for an operation this deployment of Roboto does not provide.

- [RobotoNotReadyException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoNotReadyException) (exception): The resource the request names exists but is not ready yet, such as a query whose results are still coming.

- [RobotoOperationTimeoutException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoOperationTimeoutException) (exception): Roboto stopped an operation, such as a search, that ran past its time limit. Retrying may succeed.

- [RobotoOrgCreationRefusedException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoOrgCreationRefusedException) (exception): The sign-up policy of the Roboto deployment does not let the caller create an organization now.

- [RobotoOrgEmailDomainChangeRefusedException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoOrgEmailDomainChangeRefusedException) (exception): An organization's email domain cannot change as asked.

- [RobotoReadPlanExecutionException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoReadPlanExecutionException) (exception): A read of a topic's data through its read plan cannot continue; `kind` says why.

- [RobotoResponseTooLargeException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoResponseTooLargeException) (exception): The response to the request is larger than Roboto can send.

- [RobotoServiceException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoServiceException) (exception): Roboto failed unexpectedly.

- [RobotoServiceUnavailableException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoServiceUnavailableException) (exception): Roboto could not accept the request, such as under heavy load. Retrying later may succeed.

- [RobotoThreadReadOnlyException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoThreadReadOnlyException) (exception): A message was sent to a thread with Roboto's AI that a conversation outside Roboto, such as in Slack, owns.

- [RobotoUnauthorizedException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoUnauthorizedException) (exception): The caller lacks permission for the request.

- [RobotoUnknownFieldAddressException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoUnknownFieldAddressException) (exception): A `roboto.experimental.topics.FieldAddress` names a `path` or `field_id` the topic's schema lacks.

- [RobotoUnknownOperationException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoUnknownOperationException) (exception): The request names an API route Roboto does not serve.

- [RobotoUnrecognizedErrorException](/docs/reference/python-sdk/roboto/exceptions/domain#roboto.exceptions.domain.RobotoUnrecognizedErrorException) (exception): Roboto reported an error that this release of the SDK cannot match to a specific exception class.

- [ServerError](/docs/reference/python-sdk/roboto/exceptions/http#roboto.exceptions.http.ServerError) (exception): The server failed to handle the request and responded with a status of 500 or above.

- [TimestampFieldNotFoundException](/docs/reference/python-sdk/roboto/exceptions/ingestion#roboto.exceptions.ingestion.TimestampFieldNotFoundException) (exception): The SDK cannot find the column that holds each row's timestamp.
