function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GhanashyamGhanashyam 

Client found response.. expected 'text/xml'

Hi,
I am developing an application in VB.NET. Within this application, I am trying to query the Opportunity object and return the result. When I attempt to run this code, I get the following error...
 
Client found response content type of 'text/html; charset=UTF-8', but expected 'text/xml'.
 
 
Can someone tell me how to address this issue?
 
 
Thanks
Ganesh
 
JHoskins0615JHoskins0615
I'm having the same problem. Can someone please us?
SuperfellSuperfell
i would guess you're sending the request to the wrong endpoint. can you post your code?, "it doesn't work" is not a lot to go on.