Getting Error posting to API: 500 Internal Server Error

On a site, we keep getting the following error when running Smush.
Error posting to API: 500 Internal Server Error

Logs and access information have been included in the internal ticket.

Thanks in advance.