500 Internal Server Error when removing badges

Originally posted by Jacquie Hughes

We’re using Integromat to check for badges and remove one if it’s found. It works perfectly on one scenario but we keep getting a 500 error code for the second one. What could be causing the issue? I cannot find differences in the two.