简体   繁体   English

当托管在WSO2 API Manager 2.1上时,来自REST API的响应不一致

[英]Inconsistent response from REST API when hosted on WSO2 API Manager 2.1

We have a REST API hosted on WSO2 API Manager. 我们在WSO2 API管理器上托管了一个REST API。 When calling the API through WSO2, it sometimes returns the correct response, other times gives an error that the json object received is invalid. 通过WSO2调用API时,有时会返回正确的响应,而其他时候会给出一个错误,即接收到的json对象无效。 The log file shows that the json request object is not being submitted to the API at all. 日志文件显示json请求对象根本没有提交给API。

Can anyone help out on how to resolve or troubleshoot this issue? 谁能帮助您解决或解决此问题?

I don't see any errors in the product log. 我在产品日志中没有看到任何错误。 The only difference I can see is the Activity Id is different in 2 requests, and it results in different responses. 我能看到的唯一区别是活动ID在2个请求中不同,并且导致不同的响应。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM