Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/270.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在C#中使用Fedex API进行地址验证-获取身份验证失败错误_C#_Fedex - Fatal编程技术网

在C#中使用Fedex API进行地址验证-获取身份验证失败错误

在C#中使用Fedex API进行地址验证-获取身份验证失败错误,c#,fedex,C#,Fedex,我想使用联邦快递API将地址验证集成到我的应用程序中。我得到了使用联邦快递网络服务的AddressValidationService的c代码。但当我在测试环境中使用我们的FedEx Web Services API用户密钥、FedEx Web Services API密码、FedEx AccountNumber、FedEx MeterNumber进行处理时,我们得到了一个错误,错误消息为“身份验证失败”,代码为“1000”,源为“prof”。我还尝试在配置文件中将“requiremission”

我想使用联邦快递API将地址验证集成到我的应用程序中。我得到了使用联邦快递网络服务的AddressValidationService的c代码。但当我在测试环境中使用我们的FedEx Web Services API用户密钥、FedEx Web Services API密码、FedEx AccountNumber、FedEx MeterNumber进行处理时,我们得到了一个错误,错误消息为“身份验证失败”,代码为“1000”,源为“prof”。我还尝试在配置文件中将“requiremission”的值更改为true(如下所示)


但错误依然存在。我需要更多数据才能获得此服务吗?


更新: 我的问题已经解决了。问题的原因是我的联邦快递帐户没有地址验证处理权限,当我联系联邦快递支持部门,他们允许我的帐户处理地址验证请求时,问题已经解决

     <configSections>
     <sectionGroup name="applicationSettings"type="System.Configuration.ApplicationSettingsGroup, System,
     Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
     <section name="AddressValidationWebServiceClient.Properties.Settings"          type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral,          PublicKeyToken=b77a5c561934e089" requirePermission="true" />