English 中文(简体)
AWS 2008年12月1日
原标题:AWS API Gateway {"message":"Missing Authentication Token"}

我正在使用APICS网关,以建造一个REEST的预报器,通过lam子与一个已部署的age器模型进行沟通。 当我测试方法时(Method Test Results),我的“lambda”功能恢复所需结果。 I ve 则使用“URL”这一正确说法及其所附资源名称(。 最后,我检查了这一方法的所有困难环境(https://i.stack.imgur.com/RHwo5.png” rel=“noreferer”>Method Auth Cons)。 当我把“URL”引入浏览器或试图称呼REST AP(从云9 IDE ——一个网络,我正在开发)时,我发现这一错误:{“message”:“Missing Authentication Token”} (URL Response)

我的候选资格申请非常简单,只有一份,并不包含任何其他资源或方法。 我也尝试根据......制定方法,但也有同样的问题。

这里有许多人对这一问题表示不满,我一度通过类似职位阅读,但解决办法与我上述问题背道而驰。 如果任何人都能帮助,将受到极大赞赏。

Iain

最佳回答
问题回答

对于像我这样sil笑的其他人来说,你可能产生这一错误的另一个原因是,你要求重新配置的URL。

例如,你在<条码>/上设置了代号,通过您的回复发送了请求,而这一途径是<条码>https://m卑劣/prod,并请<条码>https://m卑劣/prod。 页: 1

In my case, the url isn t the correct one. From Aws APIs, goto your api, goto the "stages" your method, find the "invoke URL", then use it in postman.

另一个原因是,在使用方法之前进行部署,因此,尽管APIC确实如此,但该阶段并不包含这种方法。 不要忘记增加部署的依赖。

Another potential reason is an error being thrown by the Lambda function code. I had a similar issue and it turned out to be a TypeError in my python code. You can check CloudWatch logs to gain more information.

I saw this message while configuring Step Functions to do an apigateway:invoke task.

确保在任务定义中具体说明<代码>AuthType: IAM_ROLE。 例如,见





相关问题
Mount windows shared drive to MWAA in bootscript

In MWAA startup script sudo yum install samba-client cifs-utils -y sudo mount.cifs //dev/test/drop /mnt/dev/test-o username=testuser,password= pwd ,domain=XX Executing above commonds giving error - ...

How to get Amazon Seller Central orders programmatically?

We have been manually been keying Amazon orders into our system and would like to automate it. However, I can t seem to figure out how to go about it. Their documentation is barely there. There is: ...

Using a CDN like Amazon S3 to control access to media

I want to use Amazon S3/CloudFront to store flash files. These files must be private as they will be accessed by members. This will be done by storing each file with a link to Amazon using a mysql ...

unable to connect to database on AWS

actually I have my website build with Joomla hosted on hostmonster but all Joomla website need a database support to run this database is on AWS configuration files need to be updated for that I ...

Using EC2 Load Balancing with Existing Wordpress Blog

I currently have a virtual dedicated server through Media Temple that I use to run several high traffic Wordpress blogs. Both tend to receive sudden StumbleUpon traffic surges that (I m assuming) ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

热门标签