Why did my message fail? (Error Codes Explained)
Understand common Meta API errors and how to fix them.
Sometimes a message you try to send through DMSpirit will fail. When this happens, Meta returns an Error Code. Here are the most common codes and exactly how to fix them.
Error 190: Token Expired or Invalid
What it means: Meta has revoked our permission to access your Instagram account. This usually happens if you recently changed your Instagram password, or if Meta flagged a security concern on your account and logged you out everywhere. How to fix it:
- Go to Connections in the DMSpirit dashboard.
- Click the Refresh Connection button next to your Instagram account and sign in with Instagram again to grant us a fresh secure token.
Error 10: Permission Denied
What it means: You are trying to send a message, but DMSpirit wasn't granted the permission it needs to access your Instagram inbox. This usually happens if one of the permissions was declined on the authorization screen. How to fix it:
- In the Instagram app, open Settings → Apps and websites, find DMSpirit and remove it.
- Come back to DMSpirit, click Connect with Instagram, and approve every permission it asks for.
Error 368: Policy Violation (Spam Block)
What it means: Meta's spam filters have temporarily blocked your account from sending messages. This usually happens if you try to send the exact same message to hundreds of people too quickly, or if users have been reporting your DMs as spam. How to fix it:
- You must wait. Meta blocks usually last between 24 and 48 hours.
- DMSpirit cannot bypass this block. To prevent it in the future, use the A/B Split Testing feature to vary the text of your messages so they don't look like automated spam to Meta's filters.
[!CAUTION] Repeatedly hitting Error 368 can lead to Meta permanently disabling your Instagram Professional messaging capabilities. Always respect the 24-hour window and avoid sending unsolicited links.