Updating profile, background, cover image limitations of back to back requests? 500 errors


I have a project in which I need to update the above 3 images. It seems that some times I get 500 on images that had previously succeeded. Is this due to the 3 requests getting fired in a short timespan? I thought it might have to do with the image itself but some times it works fine without issue. I put a delay on the requests which helped a bit but still got 500s mostly on the cover image. Is there anything additional that I should be aware of with the cover image that would make it throw 500?