Troubleshooting¶
- Service unreachable (ErrorCode
500.003.1001): The SDK maps network or non-JSON errors to a generic Daraja error with this code and message: "Service is currently unreachable. Please try again later." Check network connectivity, credentials, and Daraja service status. - Invalid phone number: Numbers must match local
07or01format before normalization. - Auth fails: Ensure
DARAJA_CONSUMER_KEYandDARAJA_CONSUMER_SECRETare set andMPESA_ENVIRONMENTis valid (sandbox/production).