errorCode: 500, msg: , result: {“Message”:”There was an error processing the request

Recently, I encountered this bug in my project:
sendRequest(L:249): errorCode: 500, msg: , result: {“Message”:”There was an error processing the request.”,”StackTrace”:””,”ExceptionType”:””}, url: http://www.xxxx.cn/api/m1/xx/xx/xxxx?name=0416
Interaction mode :WebService
Request method, using get and post are not good, have not been able to find the reason, baidu and Google, also did not find the desired answer, the question has been stuck here for a long time, and then accidentally, comment out the request header, the result sent the request again, found the problem got, the request through!
It turned out that it was caused by the request head. Why can’t you add the request head?I don’t know for the moment, so I will make a record first and then analyze it later.

Read More: