# AWS API gateway : Missing Authentication Token response for the HTTP operation which is not supported

**URL:** <https://forum.serverless.com/t/aws-api-gateway-missing-authentication-token-response-for-the-http-operation-which-is-not-supported/8814>\
**Category:** Serverless Framework\
**Tags:** aws, lambda, api-gateway\
**Created:** [July 17, 2019, 12:47pm UTC](https://forum.serverless.com/t/aws-api-gateway-missing-authentication-token-response-for-the-http-operation-which-is-not-supported/8814 "2019-07-17T12:47:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dattatrayhkulkarni](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dattatrayhkulkarni](https://forum.serverless.com/u/dattatrayhkulkarni)\
**Post date:** [July 17, 2019, 12:47pm UTC](https://forum.serverless.com/t/aws-api-gateway-missing-authentication-token-response-for-the-http-operation-which-is-not-supported/8814/1 "2019-07-17T12:47:48Z")

</div>

I am using AWS API gateway and AWS lambda function.

When I invoke the API through the client like Postman and specify the HTTP operation, I get an error -

```auto
Response code: 401
Response:
{ "message": "Missing Authentication Token" }

```

Ideally I should receive an error - Response code 405 [Method not allowed]

Is there any way this can be configured?
