# Error Creating Encrypt key with Heroku

**URL:** <https://travis-ci.community/t/error-creating-encrypt-key-with-heroku/11491>\
**Category:** Deployment\
**Tags:** travis-build\
**Created:** [April 21, 2021, 2:52pm UTC](https://travis-ci.community/t/error-creating-encrypt-key-with-heroku/11491 "2021-04-21T14:52:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danachury](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/danachury/32/6491_2.png) [@Danachury](https://travis-ci.community/u/Danachury)\
**Post date:** [April 21, 2021, 2:52pm UTC](https://travis-ci.community/t/error-creating-encrypt-key-with-heroku/11491/1 "2021-04-21T14:52:28Z")

</div>

**Hello There**

I have had some issues configuring _travis encrypt_.  
When I run:  
`travis encrypt $(heroku authorizations:create) --add deploy.api_key`  
Travis shows me this error:

 ![Screenshot from 2021-04-21 09-45-45](https://us1.discourse-cdn.com/flex015/uploads/travis_ci/original/2X/f/f238e450564a0a572b03c9a0b86063b3c37fb190.png)

The name of the repo before was `poc-incidents_frontend`, I changed the name to `incidents-frontend`, but still showing the same error.  
**Travis version:**  
1.8.9

The `.git/config`:  
[travis]  
slug = Danachury/incidents-backend

Did I forget some configuration?

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [April 21, 2021, 9:52pm UTC](https://travis-ci.community/t/error-creating-encrypt-key-with-heroku/11491/2 "2021-04-21T21:52:49Z")

</div>

> **[Travis CI Documentation](https://docs.travis-ci.com/user/encryption-keys/#usage)**
>
> Encryption keys
