Box API令牌请求企业配置问题 [英] Box API token request enterprise configuration issue

查看:107
本文介绍了Box API令牌请求企业配置问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在呼叫 https://api.box.com/oauth2/token ,以获取用户的令牌

我得到一个400,出现以下错误:

I get a 400 with the following error:

Cannot obtain token based on the enterprise configuration for your app

我看不到此信息错误消息定义在任何地方。有什么想法我做错了吗?

I don't see this error message defined anywhere. Any ideas what I'm doing wrong?

推荐答案

这里的问题是我向非应用程序用户请求令牌,并且我的应用程序配置为仅允许访问应用程序用户。

The issue here was that I was requesting a token for a non app user and my application was configured to allow access to app users only.

这篇关于Box API令牌请求企业配置问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆