---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/93102#article
headline: "93102: There was an error with your AWS role"
url: https://www.twilio.com/docs/api/errors/93102
inLanguage: en
dateModified: 2026-06-08T12:04:59.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 93102: There was an error with your AWS role

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when Event Streams cannot assume the AWS IAM role configured for your Kinesis sink. Event Streams uses the `role_arn` and `external_id` values from the sink configuration to access your stream. If AWS rejects that role assumption, Event Streams cannot deliver events to the sink and retries delivery for this error.

### Possible causes

* The `role_arn` in your sink configuration points to a role that no longer exists or is no longer the correct role for the target stream.
* The IAM role trust policy does not allow Twilio's AWS principal `arn:aws:iam::177261743968:root` to call `sts:AssumeRole`.
* The `sts:ExternalId` value in the IAM role trust policy does not match the `external_id` configured on the sink.
* The AWS role or trust relationship was changed after you created the sink.
* The role no longer has the access your Kinesis sink configuration expects.

### Possible solutions

* Verify that your sink configuration uses the correct Kinesis stream `arn`, `role_arn`, and `external_id`.
* Update the IAM role trust policy to allow `arn:aws:iam::177261743968:root` to use `sts:AssumeRole`.
* Make sure the trust policy uses the same `sts:ExternalId` value that you configured as the sink `external_id`.
* Confirm that the IAM role still exists and still has access to write to the target Kinesis stream.
* If you changed the AWS role settings after creating the sink, create a new sink with the updated `role_arn` and `external_id`, then move your subscriptions to the new sink. Event Streams only supports updating a sink description after creation.
* Send a sink test event after you update the configuration to confirm the sink is ready to receive events.

#### Additional resources

* [Sink resource](/docs/events/event-streams/sink-resource)
* [Kinesis quickstart](/docs/events/eventstreams-quickstart)
* [Event delivery retries and duplication](/docs/events/event-delivery-and-duplication)
