Action fails after Rotating M2M Management API Client Secret

Problem statement

After rotating the secret for my M2M application for the Management API an Action started to fail.

Solution

The issue happens when an old secret was stored in an existing Action making a Management API call. Due to the old secret being present, the calls failed. Updating this to the new secret will solve the issue.