I don't know how to fix this bug

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,