ok auth and membership on upload ok file over 10 MiB -> 413 ok 48 Mpx image -> 413 before decoding ok corrupted image -> 415 ok MIME spoofing and unsupported types -> 415 ok dangerous filenames -> 400 ok unknown / foreign / other-chat attachment ids rejected, no 500 ok client abort mid-upload sent; server must stay healthy PASS: attachment negative scenarios