ESP32 loading error. Failed uploading: uploading error: exit status 2

How can I solve this problem that occurs when I try to upload the code to my esp32?

A fatal error occurred: Packet content transfer stopped (received 8 bytes)
Failed uploading: uploading error: exit status 2

Show us the entire error log BUT enclose it in tags or errors