Common OCPP errors arrive as a code you paste into a search bar: NotImplemented, FormationViolation, OtherError, GroundFailure. Each one tells you something precise, but only once you know which layer it came from and what the specification says the code means. This page is the lookup: every standard OCPP 1.6 and 2.0.1 error code, the exact meaning, what usually causes it in the field, and what to do next.
The two error layers
OCPP reports problems on two separate layers, and knowing which one you are looking at decides where you go next.
Protocol-level errors arrive in a CALLERROR frame, message type 4, sent in reply to one specific request. They mean “I could not process the message you just sent”: the action was unknown, the payload was malformed, a security check failed. The frame is:
[4, "19223201", "NotImplemented", "Requested Action is not known by receiver", {}]
The elements are the message type, the message ID of the request being answered, the error code, a free-text description and a details object. The OCPP-J example messages walk through the full frame format.
Charger-level errors arrive in the errorCode field of a 1.6 StatusNotification, or as a NotifyEvent in 2.0.1. They describe the hardware: a lock that failed, a ground fault, a meter that cannot be read. They are not replies to anything you sent.
A failed StartTransaction can surface either way. A CALLERROR means the request was rejected as a message. A StatusNotification with an errorCode means the charger accepted what it was told and then hit a physical problem. Those are different investigations.
flowchart TD
P[OCPP message] --> Q{Problem type}
Q -->|Physical fault| C[StatusNotification<br/>errorCode field]
Q -->|Message handling| E[CALLERROR frame<br/>message type 4]
C --> C1[ConnectorLockFailure<br/>GroundFailure<br/>PowerMeterFailure]
E --> E1[NotImplemented<br/>FormationViolation<br/>SecurityError]
style C fill:#e8f5e9,stroke:#43a047
style E fill:#e3f2fd,stroke:#1e88e5
CALLERROR codes and what each one means
The meanings below are the specification’s own definitions from the OCPP-J error code tables, followed by the usual field cause.
| Code (1.6) | Code (2.0.1, 2.1) | Spec meaning | Usual cause and fix |
|---|---|---|---|
| NotImplemented | NotImplemented | Requested Action is not known by receiver | Action missing from the firmware or CSMS. Stop sending it to that model. |
| NotSupported | NotSupported | Action is recognised but not supported | Optional feature not enabled. Check the charger’s feature profiles or device model. |
| InternalError | InternalError | Receiver hit an internal error and could not process the Action | A bug or resource problem on the receiver. Retry once; escalate if it repeats. |
| ProtocolError | ProtocolError | 1.6: payload is incomplete. 2.0.1: payload does not conform to the PDU structure | Fields from the wrong message or version. Validate against the schema. |
| SecurityError | SecurityError | A security issue prevented the receiver from completing the Action | Credentials, certificates, or an action not allowed at this security level. |
| FormationViolation | FormatViolation | Payload is syntactically incorrect | Broken JSON or the wrong structure. Fix the sender. |
| PropertyConstraintViolation | PropertyConstraintViolation | A field contains an invalid value | A value outside its enum or allowed range. |
| OccurenceConstraintViolation | OccurrenceConstraintViolation | A field violates occurrence constraints | A required field is missing, or a field appears too often. |
| TypeConstraintViolation | TypeConstraintViolation | A field violates data type constraints, such as a number where a string belongs | "connectorId": "1" instead of 1, or a float where an integer belongs. |
| GenericError | GenericError | Any other error | Read the description string; it is all you get. |
| (none) | RpcFrameworkError | The call is not a valid RPC request, for example the message ID could not be read | A broken frame, not a broken payload. |
| (none) | MessageTypeNotSupported | A message type number the receiver does not support | A peer sending frame types from a different OCPP version. |
The spelling trap between 1.6 and 2.0.1
Two codes changed name. OCPP-J 1.6 spells them FormationViolation and OccurenceConstraintViolation, the second with a single “r”. OCPP 2.0.1 uses FormatViolation and OccurrenceConstraintViolation. If you search for one and find documentation using the other, that is why.
It also causes real bugs. A CSMS that validates incoming CALLERROR codes strictly against the 2.0.1 list will reject a frame carrying the 1.6 spelling, and a 1.6 parser may not recognise the 2.0.1 one. Accept both spellings when receiving, and send the one defined by the version you negotiated.
NotImplemented vs NotSupported
This pair is the most commonly confused. NotImplemented means the receiver has never heard of the action. NotSupported means it knows the action but will not do it, typically because an optional part of the protocol, such as a 1.6 feature profile or a 2.0.1 functional block, is not implemented or not enabled.
In a mixed fleet both point to the same fix: record what each charger model and firmware version has actually accepted, and drive feature use from that record rather than from the datasheet. A CSMS sending a 2.0.1 action over a connection that negotiated 1.6 earns a NotImplemented every time.
You can see the frame in Rey, the free virtual charge point: use Edit & resend to send a message under an action name the Demo CSMS has never heard of, here StartCharging, press Send anyway, and the answer is a CALLERROR with NotImplemented. Rey labels it REY-OCPP-001, and the small ? next to the line (the Explain button) lists the likely causes, a hand-edited action name among them, and what to check.

FormationViolation, ProtocolError and the constraint violations
These five codes all mean “your payload is wrong”, at increasing levels of precision. A syntactically broken payload is FormationViolation (FormatViolation in 2.0.1). A well-formed payload with a missing required field is OccurenceConstraintViolation; a field with the wrong JSON type is TypeConstraintViolation; a field with an impossible value is PropertyConstraintViolation. ProtocolError covers a payload that does not fit the message at all. They are always a sender bug, so the fix is never on the receiving side: catch them before sending with the official JSON schemas for your version.
SecurityError
A wrong Basic Auth password or a rejected TLS certificate normally stops the WebSocket handshake itself, before any OCPP frame can be exchanged, so you will see a failed connection rather than this code. SecurityError appears once the connection is up, when processing a request runs into a security problem, such as a certificate in a certificate-management message that fails validation. Check certificate validity and the trust chain on both sides, and what changed recently: a SecurityError on a flow that worked yesterday usually means something expired or was rotated. The security profiles guide covers what each profile checks.
InternalError and GenericError
InternalError says the receiver failed while handling a valid request: a firmware bug, a database error on the CSMS, resource exhaustion. A single one is usually safe to retry. Repeated InternalErrors on the same action are a bug report with a reproducible trigger. GenericError is the code of last resort; the description string is the only useful part.
StatusNotification errorCode values (OCPP 1.6)
In 1.6 the errorCode field is required on every StatusNotification, so a healthy connector reports NoError. The specification also says that when the status is not Faulted, the condition should be treated as a warning, because charging is still possible. HighTemperature with status Charging is a derating warning; HighTemperature with status Faulted is a stopped connector.
| errorCode | Spec meaning | What to check |
|---|---|---|
| NoError | No error to report | Nothing; this clears an earlier error. |
| ConnectorLockFailure | Failure to lock or unlock the connector | Cable seating, debris, the lock actuator. Repeats need a site visit. A cable stuck in the socket can be released remotely with UnlockConnector. |
| EVCommunicationError | Communication failure with the vehicle | Try another vehicle. Spec: use only with Preparing, SuspendedEV, SuspendedEVSE or Finishing, as a warning. |
| GroundFailure | Ground fault circuit interrupter activated | A safety trip. Do not keep retrying; inspect cable and charger if it recurs. |
| HighTemperature | Temperature inside the charger too high | Vents, fans, ambient heat, sustained high power. |
| InternalError | Error in an internal hardware or software component | Firmware version, then a reset; escalate if persistent. |
| LocalListConflict | Authorization from the CSMS conflicts with the local list | Local authorization list out of sync. Resend it. |
| OtherError | Other type of error | Read vendorErrorCode and info. |
| OverCurrentFailure | Over-current protection device has tripped | Cable, vehicle behaviour; repeats across many vehicles point at the charger. |
| OverVoltage | Voltage above an acceptable level | Site supply; check other chargers on the same feed. |
| PowerMeterFailure | Failure to read the power meter | Meter and its link to the controller. Flag affected sessions before billing. |
| PowerSwitchFailure | Failure to control the power switch | Contactor or relay. Usually a hardware repair. |
| ReaderFailure | Failure with the idTag reader | RFID reader. Remote start keeps the connector usable meanwhile. |
| ResetFailure | Unable to perform a reset | Firmware state. May need a local power cycle. |
| UnderVoltage | Voltage below an acceptable level | Site supply, especially under load. |
| WeakSignal | Wireless device reports a weak signal | Antenna, SIM, mobile coverage. |
OtherError and vendorErrorCode: reading the vendor’s code
The sixteen standard values are coarse, and manufacturers know far more about a fault than the enum can express. That detail travels in two optional 1.6 fields on the same StatusNotification: vendorErrorCode (up to 50 characters) and info (free text, up to 50 characters), with vendorId saying whose code list applies. When the standard code is OtherError or InternalError, those fields are where the diagnosis is.
Two habits pay off. Log vendorErrorCode, info and vendorId on every StatusNotification, not just the errorCode. And keep a per-manufacturer table mapping vendor codes to an action, built from the maker’s documentation and your own tickets, because two vendors can use the same string to mean different things. When the code alone doesn’t explain a fault, pull the charger’s logs remotely with GetDiagnostics (1.6) or GetLog (2.0.1) before sending anyone to site. And when a manufacturer needs to send more than these fields can hold, it uses DataTransfer, keyed by the same vendorId.
There is one cross-vendor attempt to standardise those codes. The US ChargeX consortium defined 26 Minimum Required Error Codes (MRECs), each written CX0nn. Its guidance, in a February 2024 presentation published by the Open Charge Alliance, is to carry them in a 1.6 StatusNotification with vendorId set to https://chargex.inl.gov and the code in vendorErrorCode, and in 2.0.1 in the techCode field of NotifyEvent. If you see a CX0 code in your logs, that is what it is.
How OCPP 2.0.1 reports faults instead
The 2.0.1 StatusNotification has no errorCode at all. It carries a timestamp, the EVSE and connector, and a connectorStatus of Available, Occupied, Reserved, Unavailable or Faulted. The detail moved into the device model: faults arrive as NotifyEvent messages naming the component and variable affected, the actual value, an optional techCode and techInfo from the vendor, and a cleared flag when the condition goes away.
That is more work to consume than a single enum, but it answers questions 1.6 cannot: which component faulted, on which EVSE, and when it cleared. A CSMS supporting both versions should normalise the two into one internal fault record rather than keeping two dashboards. More of the version differences follow the same pattern.
When the error comes from your CSMS or energy manager
Some of the strings people search for are not OCPP codes at all. They are the error text of the software at the other end of the WebSocket, wrapping an OCPP problem. The home energy manager evcc, for example, can fail at startup with a message beginning cannot create charger type 'template:ocpp': cannot create charger type 'ocpp': followed by the underlying reason.
Read such messages from the right. The last clause is the cause. A timeout or context canceled there usually means the software stopped waiting before the charger finished connecting, so start with the connection rather than any OCPP code: evcc’s documentation (checked November 2026) says the charger opens the connection to evcc on port 8887, with a backend URL of the form ws://<evcc-host>:8887/ plus the station ID if the charger does not append it. Check that the charger’s backend URL points there, that the station ID matches the configuration, and that nothing else is already registered for that connector.
The same rule applies to any CSMS. A BootNotification answered with Rejected is a status in a normal response, not a CALLERROR, and a WebSocket that closes before any OCPP frame is exchanged is a transport or authentication problem. The OCPP WebSocket connection errors guide reads each of those failures, from DNS and TLS to 401, 404 and 5xx, and gives the fix.
Diagnostic patterns
A charger keeps going offline. Correlate BootNotification frequency (is it rebooting?), Heartbeat timing, WebSocket close events and any errorCode reported. Reboots point at firmware watchdogs or power; clean disconnects without reboots point at the network, and a 1.6 BootNotification’s iccid and imsi fields tell you which SIM to look at.
A session will not start. Check the Authorize response, whether StartTransaction (or TransactionEvent Started) was sent and answered, the connector’s actual status (a TriggerMessage for StatusNotification fetches it on demand), and any errorCode alongside it. Rejected authorization, a Faulted connector and an Unavailable connector are three different tickets.
A session ended unexpectedly. The 1.6 StopTransaction reason field narrows it: EmergencyStop, EVDisconnected, PowerLoss, Reboot, DeAuthorized and the rest. Then read the StatusNotification just before it.
Meter values look wrong. Look for PowerMeterFailure first, then unit handling (Wh against kWh) and whether start and stop readings agree with the periodic MeterValues.
The same error on several chargers at once. Suspect what they share: the CSMS, the site supply, the network. Three simultaneous hardware failures are rare; one shared cause is not. That check saves a truck roll.
To reproduce protocol errors without touching a live site, point the free virtual charge point at a test CSMS and send the message that fails. Its Step-by-step mode holds each outgoing message so you can change or remove a field before it goes, which is the quickest way to see how your CSMS answers a payload it should reject. Its inspector shows a CALLERROR’s errorDetails too, which is often where a CSMS says what really went wrong behind a generic code (for example “Too many concurrent requests” behind a SecurityError), and it labels an error whose id matches no request. The Rey handbook explains how to read them.
The honest summary
OCPP errors arrive on two layers, and almost all wasted troubleshooting time comes from reading one while the fault is on the other. A CALLERROR is a conversation between two pieces of software about one message. A StatusNotification errorCode is the hardware describing a condition, which may have nothing to do with any message you sent.
The second time-saver is reading the field next to the code. The standard enums are deliberately coarse; the useful detail is in the CALLERROR description, the vendorErrorCode and info fields, or the techCode on a 2.0.1 event. Teams that log those, and accept both the 1.6 and 2.0.1 spellings of the same code, close tickets quickly. Teams that treat the error log as one undifferentiated stream send technicians to sites where nothing is physically wrong.