Wso2 将api从3.1.0版迁移到3.2.0版后出现api调用问题

Wso2 将api从3.1.0版迁移到3.2.0版后出现api调用问题,wso2,Wso2,我使用apictl工具版本3.1.3从wso2 api manager 3.1.0导出api,然后使用apictl工具版本3.2.1将其导入wso2 api manager 3.2.0。该api已成功导入,但在使用应用程序调用api后,在开发门户中,我收到以下错误: <ams:fault xmlns:ams="http://wso2.org/apimanager/security"> <ams:code>900902</ams:code>

我使用apictl工具版本3.1.3从wso2 api manager 3.1.0导出api,然后使用apictl工具版本3.2.1将其导入wso2 api manager 3.2.0。该api已成功导入,但在使用应用程序调用api后,在开发门户中,我收到以下错误:

<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>

900902
缺少凭据
身份验证错误。确保您的API调用具有标头:testkey丢失
我没有为我的api设置任何安全级别


如何修复它?

我想这是我的错。我导入的api的生命周期是“原型的”。我必须将api生命周期从原型更改为在publisher中发布:


换了衣服后它就工作了

对我来说,这还不起作用:(