Getting 415 while file metadata of zip files
Hey,
We are using java sdk. While fetching metadata for zip or rar files 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);
Its happening only for zip or rar files as per our observation. Any help would be appreciated.
Thanks in advance,
Bharath
-
正式なコメント
Hello Bharath,
Are you able to provide the full body response of the 415 error? I'm specifically looking for the request ID, which would be most helpful. Alternatively, an API key (aka client ID) and timestamp (including timezone) would be great so I can take a look in our logs.
Best,
Kourtney
コメントアクション -
Kourtney,
Sorry for late reply.
{"type":"error","status":415,"code":"unsupported_media_type","help_url":"http://developers.box.com/docs/#errors","message":"Previews for 'com' files are not yet supported.","request_id":"ayp2mxgkd5txkrr8"}
client_id: m39qjq7ae3b9ixf2xmvck7nbc7rdisn7
サインインしてコメントを残してください。
コメント
3件のコメント