## TL;DR

Check: the console username and password are correct; the console URL is correct and reachable from the runner; and for "exec format error", the architecture matches - that error usually means an ARM runner downloaded an x86_64 twistcli, so make sure the Console serves an ARM64 twistcli build.

```text
exec format error
```

## Steps

1. Per the Prisma Cloud scan workflow: credential and console-URL errors are config mistakes; exec format error is an architecture mismatch.

## When to use

You are seeing this: Per the Prisma Cloud scan workflow: credential and console-URL errors are config mistakes; exec format error is an architecture mismatch. Use this skill when you run into "Prisma Cloud scan fails: invalid credentials, wrong console URL, or exec format error".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
