# Access via API Key randomly gives access denied

**URL:** <https://forums.suse.com/t/access-via-api-key-randomly-gives-access-denied/6731>\
**Category:** Rancher 1.x\
**Created:** [June 26, 2017, 1:52pm UTC](https://forums.suse.com/t/access-via-api-key-randomly-gives-access-denied/6731 "2017-06-26T13:52:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geoff\_Craig](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/geoff_craig/32/1613_2.png) [@Geoff\_Craig](https://forums.suse.com/u/Geoff_Craig)\
**Post date:** [June 26, 2017, 1:52pm UTC](https://forums.suse.com/t/access-via-api-key-randomly-gives-access-denied/6731/1 "2017-06-26T13:52:13Z")

</div>

We have a utility where we upgrade applications across several environments in Rancher and we have an issue where we will get Access Denied calling _v1/projects_ right after we successfully call _v1-catalog/catalogs_ using the same API key. The only solution we have found is to open a browser and log in or if the browser is open log off, close the browser open a new browser and log in. Is there anyone else having this same problem or that has found a solution?
