# Error "Identity-AuthenticationType" in S3 sink

**URL:** <https://ask.lenses.io/t/error-identity-authenticationtype-in-s3-sink/266>\
**Category:** Apache Kafka Connectors\
**Created:** [July 25, 2024, 11:58am UTC](https://ask.lenses.io/t/error-identity-authenticationtype-in-s3-sink/266 "2024-07-25T11:58:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauro-dellachiesa-bl](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/mauro-dellachiesa-bl/32/128_2.png) [@mauro-dellachiesa-bl](https://ask.lenses.io/u/mauro-dellachiesa-bl)\
**Post date:** [July 25, 2024, 11:58am UTC](https://ask.lenses.io/t/error-identity-authenticationtype-in-s3-sink/266/1 "2024-07-25T11:58:00Z")

</div>

Hello everyone!  
I’m trying to use the S3 Sink connector and after several attempts I got it running. The problem is that a few moments after it started, I see this error in the logs:

`Illegal character in: Identity-AuthenticationType (io.lenses.streamreactor.connect.cloud.common.sink.writer.Writer:61)`

In this case, I have no clue of what the issue might be…  
How can I get some help understanding what is causing the issue?

**Connector version:** ([https://github.com/lensesio/stream-reactor/releases/download/7.3.2/kafka-connect-aws-s3-7.3.2.zip](https://github.com/lensesio/stream-reactor/releases/download/7.3.2/kafka-connect-aws-s3-7.3.2.zip)  
**Connector configuration:**

```auto
connector.class=io.lenses.streamreactor.connect.aws.s3.sink.S3SinkConnector
connect.s3.kcql=INSERT INTO aBucket:aPrefix SELECT * FROM `*` STOREAS `AVRO` PROPERTIES('store.envelope'=true,'flush.count'=1)
topics=list,of,topics
tasks.max=5
connect.s3.seek.max.files=20
name=msk-s3-sink
connect.s3.aws.region=us-east-1 value.converter=org.apache.kafka.connect.converters.ByteArrayConverter errors.log.enable=true key.converter=org.apache.kafka.connect.converters.ByteArrayConverter

```

---

<div class="post-metadata">

**Author:** ![mauro-dellachiesa-bl](https://dub1.discourse-cdn.com/flex017/user_avatar/ask.lenses.io/mauro-dellachiesa-bl/32/128_2.png) [@mauro-dellachiesa-bl](https://ask.lenses.io/u/mauro-dellachiesa-bl)\
**Post date:** [July 25, 2024, 8:20pm UTC](https://ask.lenses.io/t/error-identity-authenticationtype-in-s3-sink/266/2 "2024-07-25T20:20:22Z")

</div>

Looks like it is working with these properties:

```auto
PROPERTIES('store.envelope.key'=true , 'store.envelope.value'=true, 'store.envelope.metadata'=true, 'store.envelope.headers'=false,'flush.count'=1)

```
