I've downloaded the Json Config file and tried to use the client ID and secret to authorize the app instead of the developer token. The line that I'm getting the error is
BoxDeveloperEditionAPIConnection client = BoxDeveloperEditionAPIConnection.getAppUserConnection("FakeUserID",boxConfig, accessTokenCache);and the error that I'm getting is {"error":"invalid_request","error_description":"Cannot obtain token based on the enterprise configuration for your app"}.
The program reads the config file correctly, but I can't get past the invalid request error.
