Skip to Main Content

Intelligent Advisor

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting a Bad Request error while trying to call the same project using Rest API.

Sourabh KshitizJan 8 2021

We have developed a Project ,which needs to be called to 2 times one by one. The issue is when it is being called the first time through WSO2(middleware) in a form of JSON request via REST API ,everything is working fine but when it is being called the second time with the same JSON request we are getting Bad Request error with the detail being " Error reading JSON request data: Illegal control code at 1".
Can anybody suggest what is happening wrong in the second call.
{
"type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title": "Bad Request",
"detail": "Bad Request: Error reading JSON request data: Illegal control code at 1 [character 2 line 1]",
"internal-code": ""
}

Comments
Post Details
Added on Jan 8 2021
5 comments
1,312 views