the api with id doesn’t include a route with path

0

In Console, manually:

  • I have created a lambda based authorizer, java implementation with events APIGatewayV2CustomAuthorizerEvent, SimpleIAMPolicyResponse. I have tested it and know that it works.
  • I have created an API Gateway then attached this authorizer. When I make a call it always return 401 and doesn't call my authorizer (it has to write to log).

Looks like the issue based on wrong permissions: when I open tab "Triggers" on function's page it shows attached trigger "API Gateway" with message

The API with ID bk???1e doesn’t include a route with path /* having an integration arn:aws:lambda:us-east-2:11???37:function:my-authorizer.

Another lambda is integrated with this API Gateway, also manually with Console and this pair works as expected: if I detach my authorizer all calls go from the Gateway to the integrated lambda.

Also I have found some materials on re:Post and Youtube and they look outdated:

  • now Console doesn't have options "token" and "parameter" authorizers, I can choose only JWT and Lambda, and for Lambda authorizer I can choose Payload version 1.0 or 2.0
  • there isn't the button "Test" for authorizers
2개 답변
0

I removed API Gateway, created new one then added the authorizer again: the same issues with permissions: API Gateway has no permissions to run a lambda authorizer

On API Gateway pay no any "Test" buttons that documentation mentions Enter image description here and Enter image description here

profile picture
답변함 3달 전
profile picture
전문가
검토됨 2달 전
0

There aren't any way to call support on this issue: as you can see above the button "Fix errors" isn't available.

profile picture
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠