Skip to content

Zaptec unexpected status: 500 (Internal Server Error) and not charging (again) #27273

@dirixmjm

Description

@dirixmjm

Describe the bug

I guess this is a duplicate of #21673 but there it is my understanding this issue was resolved.
I tried following the advice given there to go to the API documents and try manually, however I cannot find the "authorize" step.

I see the following error in the log, and the Zaptec 2 is unable to switch between 1 and 3 phase, neither charge current is switching correctly it seems.
Explorer: switch phases: unexpected status: 500 (Internal Server Error) POST https://api.zaptec.com/api/installation/e04dfb8e-77c1-48e2-b187-e335f5ed7cc9/update

Steps to reproduce

  1. Start charge session
  2. Review log

...

Configuration details

[main  ] INFO 2026/02/07 10:07:20 config file not found, database-only mode
[main  ] INFO 2026/02/07 10:07:20 using sqlite database: /root/.evcc/evcc.db?_pragma=busy_timeout(5000)
charger
---
db:3 {Type:template Title: Icon: Product:Zaptec Go 2} map[id:3d2e4118-dd8c-47b3-a2fb-30514353f5f8 password:***** template:zaptec user:*****]

meter
---
db:5 {Type:template Title: Icon: Product:Home Assistant} map[maxacpower:0 power:sensor.sessy_pd53_p1_power template:homeassistant uri:***** usage:grid]
db:7 {Type:template Title:SolarEdge Icon: Product:Home Assistant} map[maxacpower:0 power:sensor.solaredge_i1_ac_power template:homeassistant uri:***** usage:pv]
db:8 {Type:custom Title:Sessy Icon: Product:} map[yaml:## required attributes

power: # current power
  source: http
  uri: 10.0.10.117/api/v1/power/status
  method: GET
  headers:
    - content-type: application/json
  auth:
    type: basic
    user: *
    password: *
  insecure: false
  jq: .sessy.power
  cache: 60s
  timeout: 10s

energy: # meter reading in kWh
  source: http
  uri: 10.0.10.117/api/v1/energy/status
  method: GET
  headers:
    - content-type: application/json
  auth:
    type: basic
    user: *
    password: *
  insecure: false
  jq: .sessy_energy.import_wh
  cache: 60s
  timeout: 10s

soc: # meter reading in kWh
  source: http
  uri: 10.0.10.117/api/v1/power/status
  method: GET
  headers:
    - content-type: application/json
  auth:
    type: basic
    user: *
    password: *
  insecure: false
  jq: .sessy.state_of_charge
  cache: 60s
  timeout: 10s

capacity: 5]

vehicle
---
db:6 {Type:template Title: Icon: Product:Ford (FordConnect Query)} map[cache:15m capacity:77 clientid:8df5ddba-3057-4924-a5fc-ceed0849f0ba clientsecret:***** icon:car redirecturi:https://evcc.dirix.nu:7070/providerauth/callback template:ford-connect-query title:Explorer vin:*****]

loadpoint
---
db:4 {Type: Title: Icon: Product:} map[charger:db:3 circuit: defaultMode:minpv limitSoc:0 maxCurrent:16 meter: mode:minpv phasesConfigured:3 planEnergy:0 planStrategy:map[continuous:false precondition:0] planTime:0001-01-01T00:00:00Z smartCostLimit:0.1 soc:map[estimate:true poll:map[interval:3.6e+12 mode:charging]] thresholds:map[disable:map[delay:1.8e+11 threshold:0] enable:map[delay:6e+10 threshold:0]] title:Zaptec vehicle:]

Log details

[site ] DEBUG 2026/02/07 10:02:32 ----
[lp-1 ] DEBUG 2026/02/07 10:02:33 charge power: 10323W
[lp-1 ] DEBUG 2026/02/07 10:02:33 charge currents: [15.1 15.2 15.4]A
[site ] DEBUG 2026/02/07 10:02:33 grid power: 9510W
[site ] DEBUG 2026/02/07 10:02:33 battery 1 power: 0W
[site ] DEBUG 2026/02/07 10:02:33 pv 1 power: 1716W
[site ] DEBUG 2026/02/07 10:02:33 !! solar production: accumulate add db:7 0.000W power (was: Accumulated: 0.564kWh updated: 2026-02-07 10:02:03 +0100 CET)
[site ] DEBUG 2026/02/07 10:02:33 !! solar production: accumulate moved db:7 from 0.564 to 0.579
[site ] DEBUG 2026/02/07 10:02:33 battery 1 soc: 0%
[site ] DEBUG 2026/02/07 10:02:33 site power: 9510W
[lp-1 ] DEBUG 2026/02/07 10:02:33 detected active phases: 3p
[lp-1 ] DEBUG 2026/02/07 10:02:33 session energy: 1.852kWh
[lp-1 ] DEBUG 2026/02/07 10:02:33 charger status: C
[lp-1 ] DEBUG 2026/02/07 10:02:33 vehicle soc: 52%
[lp-1 ] DEBUG 2026/02/07 10:02:33 vehicle range: 202km
[lp-1 ] DEBUG 2026/02/07 10:02:33 soc estimated: 54.04% (vehicle: 52.00%)
[lp-1 ] DEBUG 2026/02/07 10:02:33 vehicle soc (estimator): 54%
[lp-1 ] DEBUG 2026/02/07 10:02:33 plan: charge 1h42m14s between 2026-02-07 12:45:00 +0100 CET until 2026-02-07 17:00:00 +0100 CET (power: 13800W, avg cost: 0.088)
[lp-1 ] ERROR 2026/02/07 10:02:33 switch phases: unexpected status: 500 (Internal Server Error) POST https://api.zaptec.com/api/installation/e04dfb8e-77c1-48e2-b187-e335f5ed7cc9/update

What type of operating system or environment does evcc run on?

Linux

External automation

  • I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • I have verified that the issue is reproducible with the latest nightly build

Version

evcc version 0.300.8 (a789661)

Metadata

Metadata

Assignees

No one assigned

    Labels

    devicesSpecific device supportquestionRather clarification than issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions