---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/70106#article
headline: "70106: Invalid AWS credentials"
url: https://www.twilio.com/docs/api/errors/70106
inLanguage: en
dateModified: 2025-12-12T15:03:58.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 70106: Invalid AWS credentials

Log Level: ERROR

## Description

When uploading AWS credentials to Twilio make sure:

* AWS key matches the regex: (?\<!\[A-Z0-9])\[A-Z0-9]\{20}(?!\[A-Z0-9])
* AWS secret matches the regex: (?\<!\[A-Za-z0-9/+=])\[A-Za-z0-9/+=]\{40}(?!\[A-Za-z0-9/+=])

### Possible Solution:

* Validate the credentials and upload them again.
