2 posts / 0 new
Last post
Jimane
Invalid Access Token - when initiating STK-Push Request
Hi Team,   HTTP/1.1 404 Resource not found
Cache-Control:
no-store
Connection:
keep-alive
Content-Length:
189
Content-Type:
application/json;charset=UTF-8
Date:
Sat, 05 Aug 2017 10:55:54 GMT
Server:
Apigee Router
{ "requestId": "19464-1062330-3", "errorCode": "404.001.03", "errorMessage": "Invalid Access Token" }   I keep getting this error when trying to initiate STK-Push request on Sandbox. the access token is generated successfully but seems to be invalid. I have tried to use the accesstoken in simulate C2B and it works just fine. Kindly advise on how to resolve this. Kind Regards  

safaricom_api_s...
Invalid Access Token

Hi Jimane,

As rightly stated by others in this forum, your access token is invalid since your app is not approved to access Lipa na M-Pesa Online.

Your app is now approved for this and it can now make Lipa na M-Pesa Online Payment requests.

 

Regards,

Safaricom API Support 


Add new comment