intuit 合作伙伴平台 - 初始值设定项中的初始化服务上下文.cs已开始在我的测试应用中抛出"Unauthorized"



使用 c# devkit 对抗 qbo。 当我昨天离开时,一切正常,但是今天尝试在我的测试应用程序中初始化服务上下文,我开始收到"Intuit.Ipp.Exception.InvalidTokenException:未经授权"错误。

ServiceContext context = Initializer.InitializeServiceContext(oauthValidator, realmId, string.Empty, string.Empty, dataSourcetype);

错误位于初始化服务上下文中: context = new ServiceContext(oauthValidator, realmId, intuitServiceType);

昨天注册了我的测试公司(即我现在有一个付费的quickbooks在线帐户),我不能继续使用真实帐户进行测试吗? 还是我在某处犯了一个更大的错误。

谢谢

编辑:

尝试在 Intuit 开发人员游乐场上登录我的测试应用程序时,我收到以下错误:

Oops! An error has occurred.
Please close this window and try again.
Error Code: internal_error
Message: Error Authorizing Request Token: <redacted-token>

您的 OAuth 令牌不再有效。 初始化 QBO 的服务上下文对象将检索领域的基本 URL,这需要授权,并因此引发未经授权的错误。

相关内容

最新更新