c# ProxyHttpClient example no longer working

Hi All,

I am having an issue with setting the Proxy, it seems RestClient has changed how you set the proxy and

this.httpClient.Proxy = proxy;

as suggested in the SDK is no longer valid. Is there an updated way to set the WebProxy? I have confirmed via CURL that my token is good and the endpoint is reachable once the proxy is set. I am developing using visual studio 2022 and .net 8

github link for reference:

https://github.com/smartsheet-platform/smartsheet-csharp-sdk/blob/master/ADVANCED.md

Answers

  • DavidK1980
    edited 11/19/24

    I rewrote the app in .NET 4.7.2 but still no luck. I made sure I was using RestSharp 109.0.0 which is what the SDK is pointing too as well. Attaching an image for context

  • Georgie
    Georgie Employee

    Hi @DavidK1980,

    If you've encountered an issue with an SDK, please note that SDKs are not supported directly by Smartsheet Support. However, you can report the issue on the SDK's Github page. Here are the steps to place an issue:

    1. Open the respective SDK Github page found in our API Documentation.
    2. At the top, look for the “Issues” option and click on it.
    3. In the new screen, click “New issue” to enter the details of your issue.

    This will help ensure that the issue is tracked and addressed appropriately. If you need further assistance, feel free to check out StackOverflow for additional support from the developer community.

    Thanks,

    Georgie

    Need more help? 👀 | Help and Learning Center

    こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions

  • Thank you, I have submitted the issue to github. Link below if anyone encounters the same issue:

    https://github.com/smartsheet-samples/csharp-read-write-sheet/issues/10