How to solve (M-Pesa Error) 404.001.03: Invalid Access Token when using Daraja API to integrate M-PESA STK Push

The problem happens when the Lipa na Mpesa Online has yet not approved in your app that you created at .https://developer.safaricom.co.ke
Any one who has this problem always check your app if it has been approved. Other wise you will get the error.

To check whether app has been approved

Go to your apps:
Then select the app that you are working on:
You will see: Keys ProductsDetails Analytics Edit "yourAPP" Delete "yourApp"

Select Products

You will find two products :

  1. API Product: MPesa Sandbox
  2. API Product: Lipa na Mpesa Online

You will see whether they have been approved or not depending on which product you are using.

For Newer Versions of Till No:

Make sure you copy the cridentials correctly from the Live app in daraja then

SWAP the Store No with the Business Shortcode.

administrator
founder & C.E.O Zillah Technologies LTD Software Developer | Penetration Tester | Cloud Computing | ICT Trainer & Facilitator

    Leave a Reply

    Your email address will not be published. Required fields are marked *