Podio.NET.dll 中发生类型 'System.NullReferenceException' 的异常
An exception of type 'System.NullReferenceException' occurred in Podio.NET.dll
自 2018 年 7 月 6 日起,我们在向 Podio 发出 API 请求时收到以下错误:
An exception of type 'System.NullReferenceException' occurred in
Podio.NET.dll
but was not handled in user code...
Line: PodioClient.AuthenticateWithApp(AppId, AppToken);
我们没有更改代码中的任何内容。
这基本上才刚刚开始发生。我可以确认我们使用的是 TLS 1.2。
有人可以阐明这个问题吗?
我们正在使用此处的库 - http://podio.github.io/podio-dotnet/
我们必须通过在应用程序开头添加以下代码来强制应用程序从服务器读取 TLS 1.2:
'ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
但有时应用程序会失败并出现以下 return 错误,请参阅附件中的屏幕截图。
Podio Errors
'2018-07-13 13:51:51.5860 错误对象引用未设置为对象的实例。在 PodioAPI.Podio.Request[T](RequestMethod requestMethod, String url, Object requestData, Object options) 处未将对象引用设置为对象的实例。在 PodioAPI.Podio.Get[T](字符串 url,Dictionary`2 requestData,对象选项)在 PodioAPI.Services.FileService.DownloadFile(FileAttachment fileAttachment)'
请使用现已发布的最新跑道.Net Nuget 包:
检查一下:)
自 2018 年 7 月 6 日起,我们在向 Podio 发出 API 请求时收到以下错误:
An exception of type 'System.NullReferenceException' occurred in Podio.NET.dll
but was not handled in user code... Line: PodioClient.AuthenticateWithApp(AppId, AppToken);
我们没有更改代码中的任何内容。
这基本上才刚刚开始发生。我可以确认我们使用的是 TLS 1.2。
有人可以阐明这个问题吗?
我们正在使用此处的库 - http://podio.github.io/podio-dotnet/
我们必须通过在应用程序开头添加以下代码来强制应用程序从服务器读取 TLS 1.2:
'ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
但有时应用程序会失败并出现以下 return 错误,请参阅附件中的屏幕截图。
Podio Errors
'2018-07-13 13:51:51.5860 错误对象引用未设置为对象的实例。在 PodioAPI.Podio.Request[T](RequestMethod requestMethod, String url, Object requestData, Object options) 处未将对象引用设置为对象的实例。在 PodioAPI.Podio.Get[T](字符串 url,Dictionary`2 requestData,对象选项)在 PodioAPI.Services.FileService.DownloadFile(FileAttachment fileAttachment)'
请使用现已发布的最新跑道.Net Nuget 包:
检查一下:)