# Travis CLI, Encrypting with “travis encrypt” returns — resource not found ({“file”:“not found”})

**URL:** <https://travis-ci.community/t/travis-cli-encrypting-with-travis-encrypt-returns-resource-not-found-file-not-found/11997>\
**Category:** Deployment\
**Tags:** build-env, travis-build\
**Created:** [August 24, 2021, 2:44am UTC](https://travis-ci.community/t/travis-cli-encrypting-with-travis-encrypt-returns-resource-not-found-file-not-found/11997 "2021-08-24T02:44:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SolarUltima](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/solarultima/32/4019_2.png) [@SolarUltima](https://travis-ci.community/u/SolarUltima)\
**Post date:** [August 24, 2021, 2:44am UTC](https://travis-ci.community/t/travis-cli-encrypting-with-travis-encrypt-returns-resource-not-found-file-not-found/11997/1 "2021-08-24T02:44:27Z")

</div>

I have installed Travis CLI on my machine. Also I successfully logged in travis from cli with command `travis login --github-token {tokenHere} --com` . Github is connected with travis

I get `timeout::error: execution expired`

any ideas, @montana?

---

<div class="post-metadata">

**Author:** ![Montana](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/montana/32/9566_2.png) [@Montana](https://travis-ci.community/u/Montana)\
**Post date:** [August 24, 2021, 2:51am UTC](https://travis-ci.community/t/travis-cli-encrypting-with-travis-encrypt-returns-resource-not-found-file-not-found/11997/2 "2021-08-24T02:51:39Z")

</div>

It would be extremely important to understand what sequence of commands that was ran to lead to this situation. Seems like there’s a `HighLine::String` object dump, so it must be some sort of user input, but what that user input is, would be impossible to guess.

So my thinking is, try the following since you’re using the Travis CLI, once you run `login`, use your credentials, and try again.

```bash
rm ~/.travis/config.yml
travis login

```

Could you try specifying `-r OWNER/REPO` then? ( `--debug` might also give additional information?) You also need to be on the lookout for repo duplicates, meaning the names are duplicates.

Montana Mendy  
Travis CI Staff

---

<div class="post-metadata">

**Author:** ![SolarUltima](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/solarultima/32/4019_2.png) [@SolarUltima](https://travis-ci.community/u/SolarUltima)\
**Post date:** [August 25, 2021, 5:34pm UTC](https://travis-ci.community/t/travis-cli-encrypting-with-travis-encrypt-returns-resource-not-found-file-not-found/11997/3 "2021-08-25T17:34:37Z")

</div>

you are a magician @montana, rm, then using login from cli worked!

---

<div class="post-metadata">

**Author:** ![Montana](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/montana/32/9566_2.png) [@Montana](https://travis-ci.community/u/Montana)\
**Post date:** [August 25, 2021, 7:13pm UTC](https://travis-ci.community/t/travis-cli-encrypting-with-travis-encrypt-returns-resource-not-found-file-not-found/11997/4 "2021-08-25T19:13:11Z")

</div>

Great to hear!
