404 Not Found client.folders Node.js
Hi,
I have setup a file that uses this auth setup:
// Set up Express and the Box SDK
var app = express(),
sdk = new BoxSDK({
clientID: key.boxAppSettings.clientID,
clientSecret: key.boxAppSettings.clientSecret,
appAuth: {
keyID: key.boxAppSettings.appAuth.publicKeyID,
privateKey: key.boxAppSettings.appAuth.privateKey,
passphrase: key.boxAppSettings.appAuth.passphrase
}
});
// Use a single SDK client for the app admin, which will perform all operations
// around user management
var client = sdk.getAppAuthClient('enterprise', key.enterpriseID);
When I do this I can log the username but as soon as I try to get folder info I get a 404 error. When I was using getBasicClient the folder info was working.
How can I fix this?
サインインしてコメントを残してください。
コメント
1件のコメント