Skip to main content
Question

API_DoQuery working from browser but getting 407 error when run from c#

  • December 9, 2019
  • 0 replies
  • 27 views

I am using API_DoQuery on a table through Usertoken.

url is working from the browser.
If the same url is run from c# code, getting an error 407 authentication Required.

------------------------------
Adidev
------------------------------
This topic has been closed for replies.

  • Registered
  • December 9, 2019
Can you give more context here? What is the URL you are trying to do this with? Feel free to remove personally identifiable info from it but leave the commands it is using please. 

You did not mention it being a proxy error but everything I'm seeing points to 407 being an error you get when you use a proxy of some sort and do not set everything up fully. Try the link below.

https://blogs.msdn.microsoft.com/jpsanders/2009/03/24/httpwebrequest-webexcepton-the-remote-server-returned-an-error-407-proxy-authentication-required/