BadGateway
Andromeda answers 502 with the problem type https://uri.etsi.org/ngsi-ld/errors/BadGateway. The request went to one context source, and that source failed in a way none of the other answers covers. It was unreachable, refused the connection, broke the TLS handshake, or closed the connection mid-answer. The specification sets 502 for any other failure of a sole source but names no error type for it, so BadGateway is Andromeda's own name. See Andromeda's own types.
When this comes back
An exclusive or redirect registration makes one source the only holder of a resource, and that source fails with anything other than a redirect loop, a timeout or its own 404. See When the one source fails and Sources that fail.
In a batch, the failure is reported against the entity that hit it in a 207 instead.
A failed source is held back for everyone, not only for your request. Andromeda skips it through cooldown windows and contacts it again later, whatever answers it gave. See Sources that fail.