Membership plugin causing 502 errors

When I try to update the Stripe payment information in the settings of the Membership 2 plugin, it says it cannot save changes then my site goes down with 502 errors.

I'm trying to update the Stripe info because people are not able to signup for my memberships and I'm trying to troubleshoot why.