---
sidebar:
  label: roboto.exceptions.ingestion
  order: 2
title: roboto.exceptions.ingestion
---
## Module Contents

### IngestionException

```python
exception roboto.exceptions.ingestion.IngestionException
```

`from roboto.exceptions import IngestionException`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/exceptions/ingestion.py#L8-L16)

Bases: `Exception`

Base class of the exceptions the SDK raises when it cannot create a topic from local data, such as a DataFrame.

[`create_from_df()`](/docs/reference/python-sdk/roboto/domain/topics/topic#roboto.domain.topics.topic.Topic.create_from_df) and [`add_topic()`](/docs/reference/python-sdk/roboto/domain/files/file#roboto.domain.files.file.File.add_topic) raise it before creating or updating the topic when the timestamp column is missing, has a type that cannot hold timestamps, holds timestamps that are not timezone-aware, or holds numbers and no unit was given. They also raise it when the topic's data finishes uploading without Roboto returning an ID for the uploaded file. The message says which.

### TimestampFieldNotFoundException

```python
exception roboto.exceptions.ingestion.TimestampFieldNotFoundException
```

`from roboto.exceptions import TimestampFieldNotFoundException`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/exceptions/ingestion.py#L19-L25)

Bases: [`IngestionException`](/docs/reference/python-sdk/roboto/exceptions/ingestion#roboto.exceptions.ingestion.IngestionException)

The SDK cannot find the column that holds each row's timestamp.

[`create_from_df()`](/docs/reference/python-sdk/roboto/domain/topics/topic#roboto.domain.topics.topic.Topic.create_from_df) and [`add_topic()`](/docs/reference/python-sdk/roboto/domain/files/file#roboto.domain.files.file.File.add_topic) raise it when the named timestamp column is not in the data, or when no column was named and no column's type is a timezone-aware timestamp.
