Many, many issues there.
Everything.... every single piece of wood appears to be undersized. 4X4 posts are simply not up to the task. You needed 6X6s. Using 4X4's for your beams was another really bad idea. Possibly the worst in the whole thing. Your 2x4 diagonal braces aren't providing any meaningful assistance. It looks like you used furring strips for your purlins.
You're not going to want to hear this, but if I was asked to "fix" that structure, I'd begin by carefully taking it down and starting over.
You tried to do it on the super-cheap.
6X6 Posts. Shorter. No reason for that structure to be so tall.
Triple 2X10 or 2X12s for the beams.
4X6 for the diagonal bracing. Bolted through the posts all the way into the brace on the other side.
The rafters should be 2X8 or 2X10. Some might tell you 2X12. Especially on 24" centers.
The purlins should be 2X4's.
You can reuse the tins.
Do it all in PT or some other resistant wood stock.
This is all my opinion. Others might tell you different. $0.02