80610: Unauthorized Operation
PROXY
WARNING
You see this warning when a Proxy request uses an invalid combination of SIDs. In Proxy, Sessions belong to a Service, and Participants belong to a Session within that Service. If the ServiceSid, SessionSid, or resource SID in your request do not refer to the same Proxy resource hierarchy, Twilio rejects the operation as unauthorized.
- The
ServiceSidin the request does not match the parent Service for theSessionSidyou are trying to fetch, update, or delete. - The
SessionSidin the request does not match the parent Session for the Participant resource you are trying to fetch or delete. - A SID from one Proxy resource was used with another resource type or endpoint. Proxy uses different SID formats for Services, Sessions, and Participants.
- Your application reused a SID from a different Proxy Service or a different Session when building a nested request path.
- Verify that the
ServiceSidin the request is the parent Service for the resource you want to access. Retrieve or list Sessions under that Service before retrying the request. - Verify that the
SessionSidbelongs to that Service and that any Participant resource belongs to that Session. Retrieve or list Participants from the same Session and use the returned SID values. - Check each SID before sending the request. Use
KSfor Services,KCfor Sessions, andKPfor Participants. - Stop hard-coding or manually combining SIDs across requests. Store and reuse the exact SID values returned by the Proxy API for the same resource hierarchy.