Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daraja Error Codes

The missing error code reference for Safaricom's Daraja M-Pesa API.

Live site: ronnyabuto.github.io/daraja-error-codes

Search by error code, message, or symptom. Covers STK Push, C2B, B2C, HTTP, and Go-Live errors — each with exact causes and copy-paste fixes.

How to add an error code

  1. Fork this repo
  2. Open errors.js
  3. Add a new object to the ERRORS array following the exact schema in the existing entries
  4. Open a pull request with the title "Add error: [code]"

Required fields: code, title, api, category, description, causes (array), fix Optional fields: notes

Valid values for api: "STK Push", "C2B", "B2C", "B2B", "HTTP", "Go-Live" Valid values for category: "callback", "request", "auth", "onboarding"

Run locally

Open index.html in a browser. No server required.

Deploy

Push to GitHub. Enable GitHub Pages on the main branch root. Done.

About

The missing error code reference for Safaricom's Daraja M-Pesa API — searchable STK Push, C2B, B2C, HTTP and Go-Live errors with causes and fixes

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages