{#if !debug.kind || debug.kind === 'none'}

No auth was used for this request.

{:else}
{debug.kind} from the {debug.origin}{debug.origin !== 'request' ? ` (${debug.source})` : ''} {#if debug.steps.length > 1} {/if}
{#each debug.warnings as w}

{w}

{/each}
    {#each debug.steps as s, i (i)} {@const mk = mark[s.status] ?? mark.ok} {@const isFirstError = i === firstError}
  1. {#if i < debug.steps.length - 1}{/if} {#if isFirstError}
    This is where it failed
    {m(s.summary)}
    {#if s.hint}
    {s.hint}
    {/if}
    {:else if s.hint}
    {s.hint}
    {/if} {#if open[`${i}`]}
    {#if isParams(s.data)}
    {#if s.data.url}
    {m(s.data.url)}
    {/if} {#each s.data.params as [k, v]}
    {k} {m(v)}
    {/each}
    {/if} {#if isTokenData(s.data)} {#each Object.entries(s.data.tokens) as [name, token]} {/each} {/if} {#if s.exchange} {@const x = s.exchange}
    Request
    {m(exchangeText(x, 'req'))}
    Response
    {m(exchangeText(x, 'res'))}
    {/if} {#if s.data !== null && s.data !== undefined && !isParams(s.data) && !isTokenData(s.data)}
    {m(JSON.stringify(s.data, null, 2))}
    {/if}
    {/if}
  2. {/each}
{#if debug.sent.length}
Attached to the request
{#each debug.sent as x}
{x.location} {x.name} {ws.maskSecrets ? '••••••' : x.value}
{/each} {/if} {/if}