Quick answer
When school ERP SMS delivery failed, work through it in order: confirm the ERP actually called the API, check whether the response was ErrorCode "000", and if not read the ErrorMessage (key, balance, parameters, template). If 000, check delivery reports, then DLT template and sender ID match, number format, promotional rules and the phone.
Key takeaways
- Find the layer first: a failure sits in the ERP, the API request, DLT matching, the operator or the phone. Each needs a different fix.
- ErrorCode "000" is the dividing line: anything else means the message was not accepted; read the ErrorMessage. 000 means accepted, so check delivery reports next.
- Template mismatch is the usual suspect: one changed word in the ERP's message text is enough for operators to block it.
- DND and time windows apply to promotional SMS only: OTPs and service alerts reach DND numbers; promotional SMS go out only from 10 AM to 9 PM.
- Multi-school ERPs need per-school settings: wrong sender ID, entity ID or template ID for a school is a common hidden cause.
☰
In this guide: First triage · Decision tree · When ErrorCode is not 000 · When ErrorCode is 000 · ERP-side causes · Symptom table · What to send support · Prevention checklist · FAQ
This guide is written for school IT teams and ERP vendors whose OTPs, attendance alerts or fee reminders stopped arriving. For the general (non-ERP) causes of missing OTPs, see our guide on fixing OTP SMS not received issues. For how the OTP flow fits together in the first place, start with the pillar guide to the OTP SMS API for schools and colleges.
How do you quickly narrow down a school ERP SMS failure?
Ask four scoping questions before touching any code: is it every message or some, every school or one, every operator or one, every number or a few parents? The pattern of who is affected usually points straight to the layer that is failing.
Nothing is going out at all
Points to the ERP queue or scheduler, the API key, account balance or a network block from the ERP server.
One message type fails
Points to that template: changed wording, wrong template ID or a link that is not whitelisted.
One school in a group fails
Points to per-school configuration: sender ID, entity ID or template IDs stored for that school.
One operator or a few numbers fail
Points to number format, the phones themselves or an operator-side issue visible in delivery reports.
OTP SMS delivered in 2-6 seconds
Priority route, multi-operator failover, 1,000 free credits to test.
Get free OTP creditsWhat is the step-by-step decision tree for failed school SMS?
Follow the tree from the ERP outward: did the ERP send a request, did the API accept it with ErrorCode "000", did the delivery report show delivered, and if delivered, what is happening on the phone? Stop at the first step that fails and fix that.
Check 1Did the ERP call the API?
→
Check 2ErrorCode "000"?
→
Check 3Delivery report status
→
Check 4DLT, format and promo rules
→
Check 5Phone-side checks
Did the ERP actually call the API?
- Look in the ERP's own SMS log or outgoing queue for the request. If there is no request, the problem is inside the ERP: a stopped queue, a failed scheduled job, a disabled SMS setting for that module or the event never firing. Fix that first; nothing downstream can help.
Did the API return ErrorCode "000"?
- Every SendSMS call returns JSON. ErrorCode "000" with a JobId and MessageData means the message was accepted for delivery. Any other value means it was not accepted; go to the next section and read the ErrorMessage.
What does the delivery report say?
- Use the JobId or MessageId to find the message in the panel's live delivery reports. Delivered, failed and pending each lead to different checks.
Do DLT, format and promotional rules line up?
- If the report shows a failure, compare the sent text with the approved template, check the sender ID and entity ID, confirm the number format and, for promotional messages only, DND status and the time window.
Is the phone the problem?
- If the report shows delivered but the parent says nothing arrived, the cause is almost always on the handset: blocked sender, spam filter, full storage, wrong SIM slot or the parent checking a different phone.
What should you check when the API does not return ErrorCode 000?
When the response is not "000", the request was rejected before delivery and the ErrorMessage tells you why. The usual groups are an invalid or missing API key, insufficient balance, missing or wrong parameters and a template or sender ID that does not match DLT records.
| ErrorMessage points to | Likely cause in a school ERP | What to do |
|---|
| API key | Key changed or regenerated but not updated in ERP settings; key copied with a space; wrong account's key for this school. | Copy the current key from the panel into server configuration; restart the ERP's SMS service if it caches settings. |
| Balance or credits | Credits used up during admission season or result week. | Recharge, then set a low-balance alert so this does not recur at a peak. |
| Missing or invalid parameters | An ERP update dropped a parameter such as channel, route, EntityId or dlttemplateid; number field empty. | Log the full request (with the key masked) and compare it with the parameter list in the API docs. |
| Template or sender mismatch | Message text edited in the ERP; template ID belongs to another message; sender ID not linked to the template. | Compare sent text word for word with the approved template; check the ID pairing in your DLT register. |
Only ErrorCode "000" is described here because it is the one the documentation defines as success. Do not hard-code assumptions about other values; log the full ErrorCode and ErrorMessage together and handle anything that is not "000" as not sent. Parameter details are in our developer API docs.
// Minimal response handling an ERP should have (Node.js) const data = await res.json(); if (data.ErrorCode !== '000') { log.warn('SMS not accepted', { code: data.ErrorCode, msg: data.ErrorMessage, school: schoolId }); return { sent: false }; } return { sent: true, jobId: data.JobId, messageId: data.MessageData && data.MessageData[0] ? data.MessageData[0].MessageId : null };
Stuck on a failing ERP integration?
Send us the JobId, time and masked number. Our technical team will help you find where the message stopped.
Contact technical support
What should you check when the API returns 000 but parents get nothing?
ErrorCode "000" means the message was accepted, not that it reached the phone. Check the delivery report first, then DLT matching, number format, promotional rules and finally the handset. Most "000 but not received" cases are template mismatches or phone-side issues.
- Delivery report: look up the MessageId. If it shows failed, the reason shown is your best lead; if pending, wait a short while and check again before resending.
- DLT template match: the sent text must match the approved template exactly apart from {#var#} values. Extra spaces, a changed date format or a new line added by the ERP can break the match.
- Header and template pairing: the sender ID must be the one linked to that template under your entity.
- Number format: send 12 digits with country code, such as 9198XXXXXXXX. Strip spaces, dashes, a leading zero or "+" if your ERP adds them inconsistently.
- DND only matters for promotional: OTPs are service-implicit and reach DND numbers, and so do alerts registered as service-implicit. If a promotional message fails to some parents, DND may be the reason.
- Promotional window: promotional SMS are sent only between 10 AM and 9 PM. A promotional campaign scheduled at 7 AM will wait or fail; OTPs are not affected.
- Phone-side issues: sender blocked by the user, message in a spam folder, phone off or out of coverage, full storage on older phones, or the number now used by someone else.
✔
Test on your own phones first. Before blaming a parent's handset, send the same message to staff phones on different operators. If those arrive, the issue is likely specific to that parent's number or phone.
What ERP-side problems commonly cause SMS failures in schools?
Many failures never reach the SMS provider at all. Stopped queues, wrong per-school settings, encoding mistakes, long messages split into several parts and broken URL encoding are the most common ERP-side causes, and they often appear right after an ERP update.
- Queue or scheduler not running: the background job that sends SMS stopped after a server restart or update. Messages pile up unsent.
- Wrong sender ID per school: in a multi-school ERP, one school's messages go out with another school's sender ID, entity ID or template ID and are blocked.
- Edited message text: someone changed the wording in an ERP settings screen without re-registering the template on DLT.
- Encoding and Unicode: Hindi or regional text sent without the Unicode setting arrives garbled or fails; set DCS as the API docs specify for Unicode messages.
- Segments: long messages are split into several SMS. Unicode text fits fewer characters per SMS, so a regional fee reminder can cost several segments and must still match its template.
- URL encoding: characters such as &, # and + in the text break a GET request if not encoded. Use your language's URL-encoding function or send with POST.
- Variable formatting: a date, amount or name filled in differently from the registered template's expectation can break the match.
- Server time zone: a server set to the wrong time zone sends scheduled promotional messages outside the 10 AM-9 PM window.
- Duplicate triggers: a retry loop sends the same OTP several times, confusing parents and wasting credits.
The template side of these problems is covered in our school OTP SMS template library, and entity, header and template registration in our guide to DLT registration for schools and colleges.
Which symptom points to which cause?
Use this table as a quick lookup: match what you see to the most likely cause, then confirm it with the check listed before changing anything.
| Symptom | Most likely cause | How to confirm |
|---|
| No SMS from any module since this morning | ERP queue stopped, key changed or balance used up | ERP outgoing log; API response for one test send |
| Only fee reminders fail; OTPs work | Fee template text changed or ID wrong | Compare sent text with the approved template |
| One campus fails, others fine | Per-school sender ID, entity ID or template IDs | That school's SMS configuration in the ERP |
| Hindi messages show symbols | Unicode not set | DCS value in the request versus API docs |
| Response 000, report says failed | DLT mismatch, invalid number or operator rejection | Failure reason in delivery reports |
| Response 000, report says delivered, parent says no SMS | Phone-side: blocked sender, spam folder, other phone | Ask parent to check blocked senders and spam; test a staff phone |
| Morning admission campaign did not go | Promotional window starts at 10 AM | Scheduled time and message category |
| Parents receive the same OTP several times | ERP retry loop or double-click without cooldown | Count requests per number in ERP logs |
What information should you send to support?
Send enough for support to find the exact message without guessing: the JobId or MessageId, the time sent, a masked number, the full ErrorCode and ErrorMessage and the template ID used. Never send the API key or the OTP itself.
- JobId and MessageId from the API response
- Date and time sent, with time zone
- Mobile number masked, such as 98XXXXXX21, and operator if known
- Full ErrorCode and ErrorMessage as returned
- Sender ID, template ID and the exact text sent
- Whether it affects all messages, one school, one template or a few numbers
Hypothetical example. A school ERP vendor reports that attendance alerts for one of its twelve client schools stopped after an update, while OTPs still arrive. The response is "000" and delivery reports show failures for that school's alerts only. Comparing the request with the DLT register shows the update copied another school's template ID into this school's alert settings. Correcting the ID per school fixes it without any change on the SMS side.
How can schools prevent SMS delivery failures before they happen?
Prevent most failures by keeping a DLT register, storing template text and IDs per school in configuration, logging every API response, alerting on low balance and on non-000 rates, and testing every template on staff phones after each ERP update.
- DLT register: one sheet of entity ID, sender IDs, template IDs and exact approved text for each school.
- Configuration, not code: keep EntityId, sender ID and dlttemplateid per school in settings with change history.
- Log every response: ErrorCode, ErrorMessage, JobId and MessageId, with masked numbers and no OTPs.
- Alerts: low balance, a sudden rise in non-000 responses, and a stopped queue.
- Post-update test: after every ERP release, send each template once to staff phones on different operators.
- Peak planning: recharge before admission season and result days, not during them.
- Fallback: for OTPs, offer WhatsApp OTP or missed-call verification to users whose SMS keeps failing.
OTP SMS on SMSGatewayHub is typically delivered in 2-6 seconds with automatic retries and load balancing across operator routes, and the same account sends attendance and fee alerts through our bulk SMS for education service.
Frequently asked questions
Why did our school ERP stop sending SMS suddenly?
The most common reasons are a stopped SMS queue or scheduler after a server restart, an API key that was changed but not updated in the ERP, credits used up during a busy week, or an ERP update that altered message text. Check the ERP's outgoing log and one test API response first.
What does ErrorCode 000 mean in the SMSGatewayHub API?
ErrorCode "000" means the request was accepted for delivery, and the response includes a JobId and message IDs. It does not confirm the SMS reached the phone. Use the MessageId to check delivery status in the panel's live delivery reports. Treat any other ErrorCode as not sent.
Why do OTPs work but fee reminders fail?
Usually the fee reminder template is the problem: its text was edited in the ERP, a variable such as the date or amount is formatted differently, or the template ID sent belongs to another message. Compare the exact sent text with the approved DLT template and check the ID pairing.
Does DND stop school SMS from being delivered?
DND affects only promotional messages. OTPs are service-implicit messages and reach DND numbers, and alerts registered as service-implicit are not blocked by DND either. If only a promotional campaign fails for some parents, DND preferences or the 10 AM to 9 PM window are likely causes.
Why do Hindi SMS from our ERP show strange symbols?
The message was probably sent without the Unicode setting. Regional-language text must be sent with the DCS value the API documentation specifies for Unicode, and the template must be registered in that language. Unicode messages also fit fewer characters per SMS, so check the segment count.
How should mobile numbers be formatted for the API?
Send Indian numbers as 12 digits with the country code, for example 9198XXXXXXXX, without spaces, dashes, a leading zero or a plus sign. Clean numbers in the ERP when they are saved, not only when sending, so every module uses the same format.
The report shows delivered but the parent did not get the SMS. Why?
The cause is almost always on the handset: the sender is blocked, the message went to a spam folder, the parent is checking a different phone or SIM, or storage is full. Ask the parent to check blocked senders and spam, and test the same message on a staff phone.
Why does one school in our group fail while others work?
Multi-school ERPs store a sender ID, entity ID and template IDs for each school. If any of these is wrong or copied from another school, that school's messages are blocked by DLT checks while others succeed. Compare that school's settings with your DLT register.
What should we send to support when SMS fails?
Send the JobId and MessageId, the time sent, a masked mobile number, the full ErrorCode and ErrorMessage, the sender ID and template ID, and the exact text. Say whether the problem affects everything or one template, school or number. Never include the API key or OTP.
Conclusion
School ERP SMS failures look mysterious only until you check them in order. Confirm the ERP sent a request, read the API response and ErrorMessage, look up the message in delivery reports, then check DLT matching, number format, promotional rules and the phone. Add a DLT register, per-school configuration, response logging and post-update tests, and most failures will be caught before parents notice.
Get technical help with school SMS delivery
Our team helps school IT teams and ERP vendors trace failed messages from API request to handset.
Talk to technical support
Sources: SMSGatewayHub OTP SMS API documentation (SendSMS parameters and ErrorCode "000" success response); TRAI Telecom Commercial Communications Customer Preference Regulations, 2018 (service-implicit messages and DND). The example is hypothetical. Last updated: 26 February 2027.
OTP SMS delivered in 2-6 seconds
Priority route, multi-operator failover, 1,000 free credits to test.
Get free OTP credits