B2.NET icon indicating copy to clipboard operation
B2.NET copied to clipboard

Unable to upload file

Open utarn opened this issue 8 years ago • 1 comments

Error: I got this error when uploading the file.

An unhandled exception occurred while processing the request.

FormatException: The format of value "4_001a40cddf2c4b70000000000_0184e5f8_da6677_acct_--ObgNwZn8YYuv-rPa7cqujc1QU=" is invalid.

It seems that value is the authorization token.

Step to produce: _options = options; _client = new B2Client(B2Client.Authorize(_options)); B2File result = await _client.Files.Upload(data, Guid.NewGuid().ToString() + "." + extension, _options.BucketId);

Version: ASP.NET Core 2.0 B2NET 0.5.2

utarn avatar Jun 16 '18 04:06 utarn

This will be fixed in 5.2.1 which I will release today probably.

coryrwest avatar Jun 17 '18 15:06 coryrwest