Box.com BadRequest Error
Hi There,
I have an application that downloads files form box.com, makes changes to files and passes the file to another server that uploads the files. I randomly seem to run into a BadRequest error, see stack trace below. I have seen posts around ensuring my jwt app still has the right permissions. I believe it does, since the error only comes up some times but some times, everything works fine.
Type : Box.V2.Exceptions.BoxException, Box.V2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Message : The API returned an error [BadRequest] Source : Box.V2 Help link : StatusCode : BadRequest Error : Box.V2.BoxError ResponseHeaders : Connection: keep-alive Strict-Transport-Security: max-age=31536000 Vary: Accept-Encoding Cache-Control: no-store Date: Thu, 13 Dec 2018 07:11:26 GMT expires=Fri, 13-Dec-2019 07:11:26 GMT; Max-Age=31536000; path=/; domain=.box.com; secure, bv=OPS-42741; expires=Thu, 20-Dec-2018 07:11:26 GMT; Max-Age=604800; path=/; domain=.app.box.com; secure, cn=90; expires=Fri, 13-Dec-2019 07:11:26 GMT; Max-Age=31536000; path=/; domain=.app.box.com; secure, site_preference=desktop; path=/; domain=.box.com; secure Age: 0 Data : System.Collections.ListDictionaryInternal TargetSite : Box.V2.IBoxResponse`1[T] ParseResults[T](Box.V2.IBoxResponse`1[T], Box.V2.Converter.IBoxConverter) HResult :***phone number removed for privacy***Stack Trace : at Box.V2.Extensions.BoxResponseExtensions.ParseResults[T](IBoxResponse`1 response, IBoxConverter converter) at Box.V2.JWTAuth.BoxJWTAuth.JWTAuthPost(String assertion) at Box.V2.JWTAuth.BoxJWTAuth.GetToken(String subType, String subId) at Box.V2.JWTAuth.BoxJWTAuth.UserToken(String userId)
Please sign in to leave a comment.
Comments
0 comments