[GH-ISSUE #112] Error while processing request. Error: Type mismatch for request body property '$.timeLimitMinutes' #61

Closed
opened 2026-05-07 00:18:32 +02:00 by BreizhHardware · 5 comments

Originally created by @work242 on GitHub (Jan 3, 2026).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/112

Originally assigned to: @glenndehaan on GitHub.

The question

Hello from Germany. After having a 2 week xmas break i found the following error in the logs. The Kiosk Mode did not work. Vouchers are synced and valid.

2026-01-03 00:59:09.337 ERROR [UniFi] Error while processing request. Error: Type mismatch for request body property '$.timeLimitMinutes'
2026-01-03 00:59:09.338 ERROR [UniFi] Error while creating voucher!

Originally created by @work242 on GitHub (Jan 3, 2026). Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/112 Originally assigned to: @glenndehaan on GitHub. ### The question Hello from Germany. After having a 2 week xmas break i found the following error in the logs. The Kiosk Mode did not work. Vouchers are synced and valid. 2026-01-03 00:59:09.337 ERROR [UniFi] Error while processing request. Error: Type mismatch for request body property '$.timeLimitMinutes' 2026-01-03 00:59:09.338 ERROR [UniFi] Error while creating voucher!
BreizhHardware 2026-05-07 00:18:32 +02:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@glenndehaan commented on GitHub (Jan 3, 2026):

Hi @work242,

I have not been able to reproduce this error on both stable versions of UniFi v9 & v10.
Could you provide the following details:

  • UniFi OS Version
  • UniFI Network Version
  • UniFi Voucher Site Version
  • UniFi Voucher Site Deployment Method (Docker, HA, Dev)
  • An export of the environment variables or config files (With confidential data removed, password and tokens)

Kind regards,
Glenn de Haan

<!-- gh-comment-id:3706781621 --> @glenndehaan commented on GitHub (Jan 3, 2026): Hi @work242, I have not been able to reproduce this error on both stable versions of UniFi v9 & v10. Could you provide the following details: - UniFi OS Version - UniFI Network Version - UniFi Voucher Site Version - UniFi Voucher Site Deployment Method (Docker, HA, Dev) - An export of the environment variables or config files (With confidential data removed, password and tokens) Kind regards, Glenn de Haan
Author
Owner

@work242 commented on GitHub (Jan 4, 2026):

Hello and thanx for your help @glenndehaan

UniFI OS:
UCK G2 Plus | Up to Date | 5.0.9 | Early Access | On

UniFI Network
Network | Up to Date | 10.1.68 | Early Access | On

Git: master - Build: 30/12/2025, 08:46

Unifi Voucher Site is installed via Docker

That the config - i removed the confidential data.

services:
  unifi-voucher-site:
    image: glenndehaan/unifi-voucher-site:latest
    container_name: unifi-voucher-site
    ports:
      - "3000:3000"
    environment:
      UNIFI_IP: ""
      UNIFI_PORT: 443
      UNIFI_TOKEN: "-"
      UNIFI_SITE_ID: "default"

      UNIFI_SSID: ""
      UNIFI_SSID_PASSWORD: ""

      AUTH_DISABLE: "true"

      VOUCHER_TYPES: "480,1,,,;"
      VOUCHER_CUSTOM: "true"

      KIOSK_ENABLED: "true"
      KIOSK_VOUCHER_TYPES: "480,1,,,;"
      KIOSK_NAME_REQUIRED: "false"
      KIOSK_TIMEOUT: "1200"
      KIOSK_EMAIL: "true"

      SERVICE_WEB: "true"
      SERVICE_API: "false"
      TZ: "Europe/Berlin"

      SMTP_FROM: ""
      SMTP_HOST: ""
      SMTP_PORT: ""
      SMTP_SECURE: "true"
      SMTP_USERNAME: ""
      SMTP_PASSWORD: ""

    volumes:
      - ./branding:/email
      - ./branding/kiosk:/kiosk
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro

    restart: unless-stopped



<!-- gh-comment-id:3707460547 --> @work242 commented on GitHub (Jan 4, 2026): Hello and thanx for your help @glenndehaan UniFI OS: UCK G2 Plus | Up to Date | 5.0.9 | Early Access | On UniFI Network Network | Up to Date | 10.1.68 | Early Access | On Git: master - Build: 30/12/2025, 08:46 Unifi Voucher Site is installed via Docker That the config - i removed the confidential data. ```yaml services: unifi-voucher-site: image: glenndehaan/unifi-voucher-site:latest container_name: unifi-voucher-site ports: - "3000:3000" environment: UNIFI_IP: "" UNIFI_PORT: 443 UNIFI_TOKEN: "-" UNIFI_SITE_ID: "default" UNIFI_SSID: "" UNIFI_SSID_PASSWORD: "" AUTH_DISABLE: "true" VOUCHER_TYPES: "480,1,,,;" VOUCHER_CUSTOM: "true" KIOSK_ENABLED: "true" KIOSK_VOUCHER_TYPES: "480,1,,,;" KIOSK_NAME_REQUIRED: "false" KIOSK_TIMEOUT: "1200" KIOSK_EMAIL: "true" SERVICE_WEB: "true" SERVICE_API: "false" TZ: "Europe/Berlin" SMTP_FROM: "" SMTP_HOST: "" SMTP_PORT: "" SMTP_SECURE: "true" SMTP_USERNAME: "" SMTP_PASSWORD: "" volumes: - ./branding:/email - ./branding/kiosk:/kiosk - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro restart: unless-stopped
Author
Owner

@glenndehaan commented on GitHub (Jan 4, 2026):

Hi @work242,

Thank you for the additional information.
So normally I would say don't use Early Access releases, they are marked EA for a reason and I don't test against them (And therefore always close issues on EA releases).
However it seems they implemented type checks even tho the release notes do not mention it.

I have just published version 8.6.2 that I think could fix it. But I have no way to test it.
So please try this one out to see if it resolves this issue.

Kind regards,
Glenn de Haan

<!-- gh-comment-id:3707967885 --> @glenndehaan commented on GitHub (Jan 4, 2026): Hi @work242, Thank you for the additional information. So normally I would say don't use Early Access releases, they are marked EA for a reason and I don't test against them (And therefore always close issues on EA releases). However it seems they implemented type checks even tho the release notes do not mention it. I have just published version 8.6.2 that I think could fix it. But I have no way to test it. So please try this one out to see if it resolves this issue. Kind regards, Glenn de Haan
Author
Owner

@work242 commented on GitHub (Jan 4, 2026):

@glenndehaan Thank you! It works ;-) I switched the Unifi in our Agency to the stable release. Thanks for your help.

<!-- gh-comment-id:3707988861 --> @work242 commented on GitHub (Jan 4, 2026): @glenndehaan Thank you! It works ;-) I switched the Unifi in our Agency to the stable release. Thanks for your help.
Author
Owner

@glenndehaan commented on GitHub (Jan 4, 2026):

Awesome great to hear

<!-- gh-comment-id:3707993039 --> @glenndehaan commented on GitHub (Jan 4, 2026): Awesome great to hear
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/unifi-voucher-site#61
No description provided.