> For the complete documentation index, see [llms.txt](https://upsolver.gitbook.io/content/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://upsolver.gitbook.io/content/support-1/troubleshooting/jobs/problem-ingesting-amazon-s3-data.md).

# Problem Ingesting Amazon S3 Data

If you are trying to ingest data from an Amazon S3 bucket not partitioned by date, note that the `START_FROM` option is set to `NOW`.&#x20;

This means that if no new data has arrived since you started running the job, no data has been ingested into your staging table.

To resolve this, you can set the `START_FROM` option to `BEGINNING` or to a specific timestamp when there is data, but this is only possible when reading from a bucket partitioned by `DATE_PATTERN`.

#### Example:

If the list of files is:

* `s3://bucket/input/a/2019/01/01/00/00/file.json`
* `s3://bucket/input/a/2019/01/01/00/01/file.json`
* `s3://bucket/input/a/2019/01/01/00/02/file.json`
* `s3://bucket/input/a/2019/01/01/00/03/file.json`

You can read your data from these files as follows:

```sql
CREATE JOB copy_from_s3
    CONTENT_TYPE = JSON
    START_FROM = timestamp '2019-01-01'
    DATE_PATTERN = 'yyyy/MM/dd/HH/mm'
AS COPY FROM S3 my_s3_connection 
    BUCKET = 'bucket' 
    PREFIX = 'input/a'
INTO default_glue_catalog.schema_name.table_name;
```

{% hint style="info" %}
If you are still experiencing issues, please raise a ticket via the [Upsolver Support Portal](https://support.upsolver.com/hc/en-us).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://upsolver.gitbook.io/content/support-1/troubleshooting/jobs/problem-ingesting-amazon-s3-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
