我用apictl工具版本3.1.3从wso2应用程序接口管理器3.1.0中导出了我的接口,然后用apictl工具版本3.2.1把它导入到wso2应用程序接口管理器3.2.0中。接口导入成功,但在开发门户中用应用程序调用该接口后,我得到了以下错误:
<ams:fault xmlns:ams="http://wso2.org/apimanager/security">
<ams:code>900902</ams:code>
<ams:message>Missing Credentials</ams:message>
<ams:description>Authentication Error. Make sure your API invocation call has a header: testkey is missing</ams:description>
</ams:fault>我没有为我的api设置任何安全级别。
我怎么才能修复它?
发布于 2020-10-21 19:09:48
我想我导入的应用程序接口的fault.the生命周期是“原型”的。我不得不将api的生命周期从原型更改为在publisher:enter image description here中发布。
换了以后还能用!
https://stackoverflow.com/questions/64461463
复制相似问题