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 meaningUsual cause and fix
NotImplementedNotImplementedRequested Action is not known by receiverAction missing from the firmware or CSMS. Stop sending it to that model.
NotSupportedNotSupportedAction is recognised but not supportedOptional feature not enabled. Check the charger’s feature profiles or device model.
InternalErrorInternalErrorReceiver hit an internal error and could not process the ActionA bug or resource problem on the receiver. Retry once; escalate if it repeats.
ProtocolErrorProtocolError1.6: payload is incomplete. 2.0.1: payload does not conform to the PDU structureFields from the wrong message or version. Validate against the schema.
SecurityErrorSecurityErrorA security issue prevented the receiver from completing the ActionCredentials, certificates, or an action not allowed at this security level.
FormationViolationFormatViolationPayload is syntactically incorrectBroken JSON or the wrong structure. Fix the sender.
PropertyConstraintViolationPropertyConstraintViolationA field contains an invalid valueA value outside its enum or allowed range.
OccurenceConstraintViolationOccurrenceConstraintViolationA field violates occurrence constraintsA required field is missing, or a field appears too often.
TypeConstraintViolationTypeConstraintViolationA 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.
GenericErrorGenericErrorAny other errorRead the description string; it is all you get.
(none)RpcFrameworkErrorThe call is not a valid RPC request, for example the message ID could not be readA broken frame, not a broken payload.
(none)MessageTypeNotSupportedA message type number the receiver does not supportA 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.

Rey on OCPP 2.0.1: the charger sends an action called StartCharging, and the Demo CSMS answers with a CALLERROR. The inspector shows errorCode NotImplemented and errorDescription "StartCharging is not implemented by the mock CSMS".

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.

errorCodeSpec meaningWhat to check
NoErrorNo error to reportNothing; this clears an earlier error.
ConnectorLockFailureFailure to lock or unlock the connectorCable seating, debris, the lock actuator. Repeats need a site visit. A cable stuck in the socket can be released remotely with UnlockConnector.
EVCommunicationErrorCommunication failure with the vehicleTry another vehicle. Spec: use only with Preparing, SuspendedEV, SuspendedEVSE or Finishing, as a warning.
GroundFailureGround fault circuit interrupter activatedA safety trip. Do not keep retrying; inspect cable and charger if it recurs.
HighTemperatureTemperature inside the charger too highVents, fans, ambient heat, sustained high power.
InternalErrorError in an internal hardware or software componentFirmware version, then a reset; escalate if persistent.
LocalListConflictAuthorization from the CSMS conflicts with the local listLocal authorization list out of sync. Resend it.
OtherErrorOther type of errorRead vendorErrorCode and info.
OverCurrentFailureOver-current protection device has trippedCable, vehicle behaviour; repeats across many vehicles point at the charger.
OverVoltageVoltage above an acceptable levelSite supply; check other chargers on the same feed.
PowerMeterFailureFailure to read the power meterMeter and its link to the controller. Flag affected sessions before billing.
PowerSwitchFailureFailure to control the power switchContactor or relay. Usually a hardware repair.
ReaderFailureFailure with the idTag readerRFID reader. Remote start keeps the connector usable meanwhile.
ResetFailureUnable to perform a resetFirmware state. May need a local power cycle.
UnderVoltageVoltage below an acceptable levelSite supply, especially under load.
WeakSignalWireless device reports a weak signalAntenna, 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.