# AWS API Gateway guide: There was an error processing the login

**URL:** <https://community.auth0.com/t/aws-api-gateway-guide-there-was-an-error-processing-the-login/6341>\
**Category:** Get Help\
**Tags:** password, api, error\
**Created:** [April 24, 2017, 9:56pm UTC](https://community.auth0.com/t/aws-api-gateway-guide-there-was-an-error-processing-the-login/6341 "2017-04-24T21:56:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pputnik](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@pputnik](https://community.auth0.com/u/pputnik)\
**Post date:** [April 24, 2017, 9:56pm UTC](https://community.auth0.com/t/aws-api-gateway-guide-there-was-an-error-processing-the-login/6341/1 "2017-04-24T21:56:21Z")

</div>

Hello,  
Completely new to auth0 so perhaps cannot ask the question properly, my apologies.

I’m trying to configure AWS API GateWay test application as [described here](https://auth0.com/docs/integrations/aws-api-gateway/part-3).  
All previous parts were configured successfully (as far as I can test).

I have uploaded the static website to S3 and the login form displayed properly. I have added user to Username-Password-Authentication and can see him in my auth0 account. Allowed Origins set to `http://my-bucket.s3-website-us-east-1.amazonaws.com`

Next the manual assumes I should be able to log in using the email and password which were set to that user in Username-Password-Authentication. In fact I cannot, the error message is `There was an error processing the login`.

The only moment I’m not clear about is: [in the part 2](https://auth0.com/docs/integrations/aws-api-gateway/part-2) we edit inline policy for auth0-api-role and

> To enable access to the API methods  
> for this role, apply the following  
> policy after updating the ARN with the  
> one for your API.

I’m unsure which ARN was meant here and used ARN like `arn:aws:execute-api:us-east-1:111111111111:78aaa32ut9/*`taken and stripped `/GET/pets` from the end of ARN of API GW Method Request

How can I troubleshoot it? Could anyone advise, please?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/aws-api-gateway-guide-there-was-an-error-processing-the-login/6341/2 "2018-03-02T05:53:27Z")

</div>


