Reputation: 1
I have problem when my cordova apps try to call the procedure in adapter, the adapter doesn't return the response. The response of adapter is just like this :
errorMsg: "OK"
invocationContext: null
responseHeaders:
cache-control: "no-cache"
connection: "close"
content-type: "text/html; charset=UTF-8"
expires: "0"
pragma: "no-cache"
__proto__: Object
responseText: "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><META HTTP-EQUIV="CONTENT-TYPE" CONTENT="TEXT/HTML; CHARSET=utf-8"/><title>Error</title></head><body><H2>Error</H2><table summary="Error" border="0" bgcolor="#FEEE7A" cellpadding="0" cellspacing="0" width="400"><tr><td><table summary="Error" border="0" cellpadding="3" cellspacing="1"><tr valign="top" bgcolor="#FBFFDF" align="left"><td><STRONG>Error</STRONG></td></tr><tr valign="top" bgcolor="#FFFFFF"><td>This page can't be displayed. Contact support for additional information.<br/>The incident ID is: N/A.</td></tr></table></td></tr></table></body></html>"
status: 200
I have no idea whats the problem is. Please Help to solve this.
Update: This is payload that I send into adapter (REST)
{
"id": "xxx",
"userID": "ANDxxx",
"firstName": "ANDY",
"lastName": "JOHNSON",
.............
}
Notes : - I use mobile first 8.0.0.00-20180504-092633 version - I think it's intermittent. Because just some data in payload that I sent into adapter that return no response
Upvotes: 0
Views: 200