Getting an error message when trying to get folder information using SDK
This is what I got.
"The API returned an error [NotFound | bxwuwzg5jhxuj1u9.0t9pq870bggqhb3d4hcld1tqci] not_found - Not Found"
Here is my code:
var accessToken = ConfigurationManager.AppSettings["AccessToken"];
var clientID = ConfigurationManager.AppSettings["ClientID"];
var auth = new OAuthSession(accessToken, "", 3600, "bearer");
var config = new BoxConfig(clientID , "", new Uri("http://boxsdk"));
// var config = new BoxConfig("YOUR_CLIENT_ID", "YOUR_CLIENT_SECRET", new Uri("http://boxsdk"));
var client = new BoxClient(config, auth);
var folderId =ConfigurationManager.AppSettings["FolderID"]; // "0";//
var folder = await client.FoldersManager.GetInformationAsync(folderId);
-
Hi ,
It looks like you were able to solve the issue over in the SDK issue filed. Please let us know if you run into any other issues during development.
- Jon
Please sign in to leave a comment.
Comments
1 comment