415 Unsupported Media Type for different files
Hey,
We are using java sdk. While fetching metadata for different files like .apm, .zip, .rar we are getting exception with error code 415. Code is as follows.
BoxAPIConnection apiConnection = new BoxAPIConnection("accessToken");
apiConnection.asUser("userId");
BoxFile file = new BoxFile(apiConnection, "fileId");
BoxFile.Info fileInfo = file.getInfo(ALL_FIELDS);
Any help would be appreciated. Recent request id and its timestamp is as follows.
BOX-REQUEST-ID=0ac9432729c96222928562706dab25401, timestamp=1608082434326
Thanks in advance,
Bharath
Please sign in to leave a comment.
Comments
0 comments