Skip to main content
Code: auth.credentials_missing
HTTP: 400 Bad Request

What happened

The API rejected the request during authentication before your route handler ran.

Safe message

We could not verify this request. Please try again later.
Use err.safeMessage or err.displayMessage in customer UI, not err.message.

Display message

Please sign in or provide a valid Morapay API key.
Use err.displayMessage in UI components. Reserve err.message for server logs.

Why this happened

The request did not include valid authentication credentials.

How to fix it

For Merchant API calls, sign requests with your Morapay key pair via the SDK. For dashboard access, sign in to refresh your session.

UI hint

Programmatic handling