Getting 500 error in R2

Hi, I am trying to use the R2 from the PHP AWS SDK, and no matter what I do I am getting this error:

<?xml version="1.0" encoding="UTF-8"?>
<Error>
    <Code>InternalError</Code>
    <Message>We encountered an internal error. Please try again.</Message>
</Error>

what could be the problem?