Errors
GET /api/errors
Parameters
Response
{
data: {
id: number; // charging port status id, stable across requests
timestamp: string; // ISO 8601 format, when the error was reported by the charger
ocppErrorCode: string; // Error code field from OCPP
vendorErrorCode: string | null; // Vendor error code field from OCPP
ocppInfo: string | null; // Info field from OCPP
ocppStatus: string; // OCPP status the port was in when the error was reported (e.g. Faulted)
// 'endedCharging' = error ended an in-progress session
// 'preventedCharging' = error blocked a session from starting
// 'muted' = error triggered an alert that was muted
// 'other' = error did not fit any of the above buckets
errorCategory: 'endedCharging' | 'preventedCharging' | 'muted' | 'other';
// Linked charging session, only set if this error caused or occurred during a session
chargingSession: {
id: number;
startTime: string; // ISO 8601 format
endTime: string | null; // ISO 8601 format
durationSeconds: number | null;
energyDeliveredKwh: number | null;
socStartPercent: number | null; // State of charge at start of session, if reported
socEndPercent: number | null; // State of charge at end of session, if reported
} | null;
site: {
id: number;
name: string;
locationId: string | null;
} | null;
charger: {
id: number;
name: string;
manufacturer: string | null;
model: string | null;
networkServiceProvider: string;
chargerType: string;
serialNumber: string | null;
numberOfPorts: number;
latitude: number | null;
longitude: number | null;
externalId: string | null;
ocppId: string | null;
} | null;
port: {
id: number;
name: string;
portNumber: number;
maximumPowerKw: number | null;
} | null;
organization: {
id: number;
name: string;
} | null;
}[];
pagination: {
hasNextPage: boolean;
nextPageCursor: string | null;
};
}Example request and response
Last updated