# How to load the table from aws s3

**URL:** <https://forum.kx.com/t/how-to-load-the-table-from-aws-s3/13767>\
**Category:** Community Support\
**Tags:** imported, kdb-insights\
**Created:** [March 22, 2022, 12:00am UTC](https://forum.kx.com/t/how-to-load-the-table-from-aws-s3/13767 "2022-03-22T00:00:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajrs.ece](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/rajrs.ece/32/128_2.png) [@rajrs.ece](https://forum.kx.com/u/rajrs.ece)\
**Post date:** [March 22, 2022, 12:00am UTC](https://forum.kx.com/t/how-to-load-the-table-from-aws-s3/13767/1 "2022-03-22T00:00:00Z")

</div>

[https://learninghub.kx.com/forums/topic/how-to-load-the-table-from-aws-s3](https://learninghub.kx.com/forums/topic/how-to-load-the-table-from-aws-s3)

Hi Team,

I’m trying to load a table from my AWS s3 bucket, But I got `empty error.

How do I fix this issue?

I have to try this with a KXCE license.

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![dcrossey2](https://avatars.discourse-cdn.com/v4/letter/d/c77e96/32.png) [@dcrossey2](https://forum.kx.com/u/dcrossey2)\
**Post date:** [March 23, 2022, 12:00am UTC](https://forum.kx.com/t/how-to-load-the-table-from-aws-s3/13767/2 "2022-03-23T00:00:00Z")

</div>

Hi Raj,

Please refer to [Object storage | KX Insights Core](https://code.kx.com/insights/core/objstor/main.html") on how to load a database table from an AWS S3 bucket.

Hope this helps.

Kind regards,

David

---

<div class="post-metadata">

**Author:** ![pcarroll](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@pcarroll](https://forum.kx.com/u/pcarroll)\
**Post date:** [March 23, 2022, 12:00am UTC](https://forum.kx.com/t/how-to-load-the-table-from-aws-s3/13767/3 "2022-03-23T00:00:00Z")

</div>

If you included the full command it would help more . Generally speaking there might be permission issues for you to access the bucket _and/or_ issues with the loading of the table. Some good points to confirm on this would be…

- Can you use _ **aws cli** _ to copy the table outside of q prompt?
- Can you load the table if it were stored on file storage rather than local?

---

<div class="post-metadata">

**Author:** ![rajrs.ece](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/rajrs.ece/32/128_2.png) [@rajrs.ece](https://forum.kx.com/u/rajrs.ece)\
**Post date:** [March 25, 2022, 12:00am UTC](https://forum.kx.com/t/how-to-load-the-table-from-aws-s3/13767/4 "2022-03-25T00:00:00Z")

</div>

Thank you so much David for the link.

---

<div class="post-metadata">

**Author:** ![rajrs.ece](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/rajrs.ece/32/128_2.png) [@rajrs.ece](https://forum.kx.com/u/rajrs.ece)\
**Post date:** [March 25, 2022, 12:00am UTC](https://forum.kx.com/t/how-to-load-the-table-from-aws-s3/13767/5 "2022-03-25T00:00:00Z")

</div>

Hi @PCarroll,  
I think same, it might be a some permission issues for accessing s3 bucket.

1. Yes, I copied the table to s3 with outside of q prompt.
2. I can load the table from my local. But, I get the error when I try to load the same table from my s3.

Thanks for your response!
