The credential is missing, invalid or revoked. Check the key configured on the application server.
Identification
Extends APIError. The status property contains the HTTP status returned by the server.
Handle in application code
import {AuthenticationError} from "./ngila.mjs";
try {
await client.models();
} catch (error) {
if (!(error instanceof AuthenticationError)) throw error;
console.error(error.name, error.status);
}