未授权异常 token_rejected
UnauthorizedException token_rejected
我正在使用Demo公司开发。
公司到期了所以我重新激活了
但是,当我尝试 运行 我的单元测试连接到 table 时,我收到以下错误
Xero.Api.Infrastructure.Exceptions.UnauthorizedException:
oauth_problem=token_rejected&oauth_problem_advice=
The%20organisation%20for%20this%20access%20token%20is%20not%20active
我决定尝试重新生成密钥。
当我转到 developer.xero.com 中的应用程序页面和 select 执行此操作的选项时,我得到一个问题
Regenerate Keys?
Are you sure you want to regenerate your application keys?
This will break any instance of the application using the old key and secret.
我回答是,然后屏幕底部会短暂显示红色错误。
Error! Please refresh
对话框没有关闭。
密钥不会重新生成。
我在 Win 10
上使用 Chrome 作为浏览器
重新生成演示组织实际上创建了一个全新的组织;因此,您的应用仍链接到过期的演示组织,因此它不会获得新密钥。
我认为您需要创建一个新应用才能使用您的新演示组织。
我正在使用Demo公司开发。 公司到期了所以我重新激活了 但是,当我尝试 运行 我的单元测试连接到 table 时,我收到以下错误
Xero.Api.Infrastructure.Exceptions.UnauthorizedException:
oauth_problem=token_rejected&oauth_problem_advice=
The%20organisation%20for%20this%20access%20token%20is%20not%20active
我决定尝试重新生成密钥。 当我转到 developer.xero.com 中的应用程序页面和 select 执行此操作的选项时,我得到一个问题
Regenerate Keys?
Are you sure you want to regenerate your application keys?
This will break any instance of the application using the old key and secret.
我回答是,然后屏幕底部会短暂显示红色错误。
Error! Please refresh
对话框没有关闭。
密钥不会重新生成。
我在 Win 10
上使用 Chrome 作为浏览器重新生成演示组织实际上创建了一个全新的组织;因此,您的应用仍链接到过期的演示组织,因此它不会获得新密钥。
我认为您需要创建一个新应用才能使用您的新演示组织。