Twilio · api · fg-0084

Twilio restricted API key fails with error 8021 although Read is granted

Error 8021

Verified 2026-10-07 · Confirmed by 0 builders · Trust 50/100

Cause

Restricted keys separate List from Read. Listing resources needs the List permission.

Fix

Tick List as well as Read for each resource the key must enumerate.

Apply

https://console.twilio.com/us1/account/keys-credentials/api-keys/<key SID>: tick List next to Read for Messages, then Save

Affects: Twilio restricted API keys, October 2026

Have your agent know this before it fails

claude mcp add --transport http footgun https://getfootgun.com/api/mcp