Maybe this a newbie problem, so please bear with me.
I’m using AJAX to get a plan TXT file and do further processing. When I run the following code on Chrome it sends error code 200 (which is OK), but on any Android device (Phone/Tablet) gives back error code 0 and the word “error” as description.
Function ProcessLot
If archLot.status = 200 Then
FillLotTable(archLot.responseText)
Else
MsgBox "Error: Status = " & archLot.status & vbCRLF & CStr(archLot.statusText ) & vbCRLF & archLot.error
End If
End Function
Chrome debugger gives me no errors nor warnings, and I don’t know how to debug the application on android devices.
I’ve been struggling with this for almost a month with no luck, so all help will be GREATLY appreciated.
Since you are not calling a php script, adding Access-Control-Allow-Origin: * would have no effect. However, I noticed that you are using http and not https. This may be the issue.