# \[HELP\] aws chefautomate delivery token auth failure

**URL:** <https://discourse.chef.io/t/help-aws-chefautomate-delivery-token-auth-failure/15264>\
**Category:** Chef Automate\
**Created:** [May 29, 2019, 10:23pm UTC](https://discourse.chef.io/t/help-aws-chefautomate-delivery-token-auth-failure/15264 "2019-05-29T22:23:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgh](https://avatars.discourse-cdn.com/v4/letter/j/c68b51/32.png) [@jgh](https://discourse.chef.io/u/jgh)\
**Post date:** [May 29, 2019, 10:23pm UTC](https://discourse.chef.io/t/help-aws-chefautomate-delivery-token-auth-failure/15264/1 "2019-05-29T22:23:38Z")

</div>

I am following the guide here: [Learn Chef](https://learn.chef.io/modules/deploy-infrastructure/ubuntu/opsworks/set-up-your-workstation#/)

There are a couple of bits that an issue for me, at this time. First, unable to add an SSH key as designated in the instructions, and I have not done this, as interface is different as compared to instructions. Right now I am using an ssh-agent from my workstation to a AWS jumpbox and then use this to connect to my automate instance I've deployed in AWS.

The issue I am having is that I can't generate a delivery token:

> ubuntu@ip-address:~/learn-chef$ AUTOMATE\_PASSWORD=PASSWORD delivery token  
> Chef Delivery  
> Requesting Token  
> 401: Authentication failed  
> token request returned 404 Not Found

Any ideas on how to resolve this issue?
