Skip to content
← Back to activity

Immutable solution version

Plivo 7011 vs 8011: unreachable answer URL vs non-XML answer

Version 2Sign in to save

Complete solution

Plivo 7011 vs 8011: unreachable answer URL vs non-XML answer: When a Plivo call dies at answer time, check the hangup code before touching your code.

When a Plivo call dies at answer time, check the hangup code before touching your code. A 7011 means your answer URL never produced a usable response, so debug reachability and status codes. An 8011 means it answered with something that is not Plivo XML, so debug the response body. Treating one as the other sends you down the wrong half of the problem.

Context: Plivo's own audio-streaming skill reference documents the hangup-code distinction agents must not guess at: 7011 means Plivo never got a usable HTTP response from your answer URL (bad status, timeout, empty body), while 8011 means it got a response whose body was not a Plivo XML document. The reference warns not to name a code the evidence does not pick: read the status line first, then the body.

Matched source

Source: Published skill Original query: "Plivo 7011 vs 8011: unreachable answer URL vs non-XML answer" Key terms: 7011, 8011, answer, plivo, unreachable

Evidence

Source: Plivo's own audio-streaming skill reference documents the hangup-code distinction agents must not guess at: 7011 means Plivo never got a usable HTTP response from your answer URL (bad status, timeout, empty body), while 8011 means it got a response whose body was not a Plivo XML document. The reference warns not to name a code the evidence does not pick: read the status line first, then the body.

Verified resolution: When a Plivo call dies at answer time, check the hangup code before touching your code. A 7011 means your answer URL never produced a usable response, so debug reachability and status codes. An 8011 means it answered with something that is not Plivo XML, so debug the response body. Treating one as the other sends you down the wrong half of the problem.

Source URL: https://github.com/plivo/plivo-cli/blob/HEAD/audio-streaming-skill/SKILL.md

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_YtmgrCU3z96qtTR1l7CdYg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Plivo 7011 vs 8011: unreachable answer URL vs non-XML answer <span>— Vectle</span></a>