# I don't know how to fix this bug

**URL:** <https://community.sendbird.com/t/i-dont-know-how-to-fix-this-bug/4641>\
**Category:** JavaScript\
**Created:** [May 12, 2022, 11:06am UTC](https://community.sendbird.com/t/i-dont-know-how-to-fix-this-bug/4641 "2022-05-12T11:06:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jiho\_Kim](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/jiho_kim/32/2457_2.png) [@Jiho\_Kim](https://community.sendbird.com/u/Jiho_Kim)\
**Post date:** [May 12, 2022, 11:06am UTC](https://community.sendbird.com/t/i-dont-know-how-to-fix-this-bug/4641/1 "2022-05-12T11:06:30Z")

</div>

```
const sb = SendBird.getInstance();
const params = new sb.FileMessageParams();
params.file = {
  uri: file.uri,
  name: file.name,
  type: file.type,
  size: file.fileSize,
};
params.thumbnailSizes = [{ maxWidth: 160, maxHeight: 160 }];

const temporaryMessage = channel.sendFileMessage(params, callback);

```

**LOG** code: 800220

**LOG** message: Request failed.

How can I do fix this problem?  
sendbird: 3.1.13  
android target: 31,  
android sdk: 31,
