# Errors when starting S3 Connector

**URL:** <https://forum.confluent.io/t/errors-when-starting-s3-connector/4604>\
**Category:** Managed Connectors\
**Created:** [28 March 2022 06:11 UTC](https://forum.confluent.io/t/errors-when-starting-s3-connector/4604 "2022-03-28T06:11:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![krisrr3](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/krisrr3/32/1741_2.png) [@krisrr3](https://forum.confluent.io/u/krisrr3)\
**Post date:** [28 March 2022 06:11 UTC](https://forum.confluent.io/t/errors-when-starting-s3-connector/4604/1 "2022-03-28T06:11:32Z")

</div>

Hi team,

I am learning on Confluent Cloud and have created a topic and an S3 Connector. But facing some errors when launching the connector.

- kafka.service.account.id: Unable to validate account permissions

- s3.bucket.name: Provided bucket doesn’t exist

 ![image](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/2X/7/72ab298572a3d55ec230b834a7da5e038c3de6df.png)

I have double checked the configs and not sure how to further troubleshoot and make the fixes.

Can someone please guide me?

Cheers  
Kris

---

<div class="post-metadata">

**Author:** ![vnadkarni](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/vnadkarni/32/1839_2.png) [@vnadkarni](https://forum.confluent.io/u/vnadkarni)\
**Post date:** [28 March 2022 11:08 UTC](https://forum.confluent.io/t/errors-when-starting-s3-connector/4604/2 "2022-03-28T11:08:52Z")

</div>

Hi @krisrr3 .  
Welcome to the Confluent community forum!

Are you using the source connector or sink connector?

---

<div class="post-metadata">

**Author:** ![krisrr3](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/krisrr3/32/1741_2.png) [@krisrr3](https://forum.confluent.io/u/krisrr3)\
**Post date:** [28 March 2022 20:05 UTC](https://forum.confluent.io/t/errors-when-starting-s3-connector/4604/3 "2022-03-28T20:05:12Z")

</div>

Hi @vnadkarni ,

Thanks for the reply. Its Sink connector

---

<div class="post-metadata">

**Author:** ![vnadkarni](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/vnadkarni/32/1839_2.png) [@vnadkarni](https://forum.confluent.io/u/vnadkarni)\
**Post date:** [29 March 2022 09:49 UTC](https://forum.confluent.io/t/errors-when-starting-s3-connector/4604/4 "2022-03-29T09:49:35Z")

</div>

Hi @krisrr3 . I just did this myself - used a datagen source and a AWS S3 sink connector and saw my data in the S3 bucket. Looks like you’re doing this in the Confluent Cloud web UI (as I did). Can you walk me through the steps you’re taking?

---

<div class="post-metadata">

**Author:** ![krisrr3](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/krisrr3/32/1741_2.png) [@krisrr3](https://forum.confluent.io/u/krisrr3)\
**Post date:** [29 March 2022 22:38 UTC](https://forum.confluent.io/t/errors-when-starting-s3-connector/4604/5 "2022-03-29T22:38:37Z")

</div>

Hi @vnadkarni ,

thanks. Let me explain

1. First created a topic and published a message to it
2. Created a Service Account and Api key
3. Granted the service account access to the topic
4. The started the connector with the service account  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/2X/0/04618054b4e6a7ec82a32056daa1b23a551708e5.png)

I’ll post the details of the AWS Settings as a next step, might be good to solve one part at a time.

thanks again for your help.

---

<div class="post-metadata">

**Author:** ![krisrr3](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/krisrr3/32/1741_2.png) [@krisrr3](https://forum.confluent.io/u/krisrr3)\
**Post date:** [30 March 2022 04:44 UTC](https://forum.confluent.io/t/errors-when-starting-s3-connector/4604/6 "2022-03-30T04:44:09Z")

</div>

ok replying to my own post, I solved it by creating the API Key and Secret while creating the Connector and not separately, as I did before.

In all honesty, it was called out in the pre-requisites.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/2X/3/3be4e9eb6f03db203667a6f7acf1cd068367fb7b.png)

Will move on to investigate the problem with AWS S3 side, as I am still getting the exception.  
s3.bucket.name: Provided bucket doesn’t exist

---

<div class="post-metadata">

**Author:** ![krisrr3](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/krisrr3/32/1741_2.png) [@krisrr3](https://forum.confluent.io/u/krisrr3)\
**Post date:** [30 March 2022 05:41 UTC](https://forum.confluent.io/t/errors-when-starting-s3-connector/4604/7 "2022-03-30T05:41:16Z")

</div>

Found the other problem, its actually the name of the S3 bucket and not the ARN.

thanks @vnadkarni for helping anyway.

---

<div class="post-metadata">

**Author:** ![vnadkarni](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/vnadkarni/32/1839_2.png) [@vnadkarni](https://forum.confluent.io/u/vnadkarni)\
**Post date:** [30 March 2022 09:57 UTC](https://forum.confluent.io/t/errors-when-starting-s3-connector/4604/8 "2022-03-30T09:57:16Z")

</div>

Glad to know that you’ve fixed it! 😃

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [29 April 2022 09:58 UTC](https://forum.confluent.io/t/errors-when-starting-s3-connector/4604/9 "2022-04-29T09:58:01Z")

</div>

Closed on 29 April 2022 09:58 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
