"Based on previous use of this feature, your account has been temporarily blocked from taking this action..."
"This action was blocked. Please try again later. We restrict certain content and actions to protect our community."
These messages indicate you've hit the limits for likes, follows, or unfollows from your Instagram account.
Instagram tells us when to slow down and we already know approximately what the limits are. We stay under those limits and respect whenever it tells us to back off, just like a human would when using the Instagram app.
Usually this problem will clear up on its own within a few days to a week. However, with Instagram's changes at the end of May 2019, we've seen longer blocked. Please have a look at our blog post, "Fixing Follow Blocks (Action Blocked)".