Box API token request enterprise configuration issue

喜欢而已 提交于 2019-12-30 09:53:26

问题


I am making a call to https://api.box.com/oauth2/token to get a token for a user.

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?


回答1:


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.



来源:https://stackoverflow.com/questions/33683246/box-api-token-request-enterprise-configuration-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!