Get attachment file on confluence page in Custom UI

Hello.

When i get attachment file in custom UI, the file is corrupted.

I think arrayBuffer is correpted not in resolver(backend) but in custom UI(frontend).
I guess binary data is converted as text.

how to get binary attachment file without corrupted??

Help me :slight_smile: