Integration API not working after upgrading to 1.16.1 (Unknown zod object type) #185

Closed
opened 2026-04-05 17:02:01 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Kacper1263 on 2/28/2026

Describe the Bug

Hi,

After upgrading from 1.15.4 to 1.16.1 Integration API is returning 504 code.

Looks like https://api.pangolin.net/v1/docs have the same problem.

Pangolin logs below:

pangolin  |
pangolin  | > @fosrl/pangolin@0.0.0 start
pangolin  | > ENVIRONMENT=prod node dist/migrations.mjs && ENVIRONMENT=prod NODE_ENV=development node --enable-source-maps dist/server.mjs
pangolin  |
pangolin  | Starting migrations from version 1.16.0
pangolin  | Migrations to run:
pangolin  | All migrations completed successfully
pangolin  | 2026-02-28T10:26:03+00:00 [warn]: Email SMTP configuration is missing. Emails will not be sent.
pangolin  | 2026-02-28T10:26:04+00:00 [info]: Pangolin gathers anonymous usage data to help us better understand how the software is used and guide future improvements and feature development. You can find more details, including instructions for opting out of this anonymous data collection, at: https://docs.pangolin.net/telemetry
pangolin  | 2026-02-28T10:26:05+00:00 [info]: API server is running on http://localhost:3000
pangolin  | 2026-02-28T10:26:05+00:00 [info]: Internal server is running on http://localhost:3001
pangolin  | UnknownZodTypeError {
pangolin  |   message: 'Unknown zod object type, please specify `type` and other OpenAPI props using `schema.openapi`.',
pangolin  |   data: {
pangolin  |     currentSchema: {
pangolin  |       type: 'catch',
pangolin  |       innerType: [ZodOptional],
pangolin  |       catchValue: [Function (anonymous)]
pangolin  |     },
pangolin  |     schemaName: undefined
pangolin  |   }
pangolin  | }
pangolin  | 2026-02-28T10:26:06+00:00 [info]: Next.js server is running on http://localhost:3002
pangolin  | 2026-02-28T10:26:06+00:00 [info]: Establishing websocket connection

Its working again after downgrading to 1.15.4

Environment

  • OS Type & Version: Debian 12
  • Pangolin Version: 1.16.1
  • Gerbil Version: 1.3.0
  • Traefik Version: 3.6.9

To Reproduce

Upgrade do 1.16.1

Expected Behavior

Working Integration API

*Originally created by @Kacper1263 on 2/28/2026* ### Describe the Bug Hi, After upgrading from 1.15.4 to 1.16.1 Integration API is returning 504 code. Looks like https://api.pangolin.net/v1/docs have the same problem. Pangolin logs below: ``` pangolin | pangolin | > @fosrl/pangolin@0.0.0 start pangolin | > ENVIRONMENT=prod node dist/migrations.mjs && ENVIRONMENT=prod NODE_ENV=development node --enable-source-maps dist/server.mjs pangolin | pangolin | Starting migrations from version 1.16.0 pangolin | Migrations to run: pangolin | All migrations completed successfully pangolin | 2026-02-28T10:26:03+00:00 [warn]: Email SMTP configuration is missing. Emails will not be sent. pangolin | 2026-02-28T10:26:04+00:00 [info]: Pangolin gathers anonymous usage data to help us better understand how the software is used and guide future improvements and feature development. You can find more details, including instructions for opting out of this anonymous data collection, at: https://docs.pangolin.net/telemetry pangolin | 2026-02-28T10:26:05+00:00 [info]: API server is running on http://localhost:3000 pangolin | 2026-02-28T10:26:05+00:00 [info]: Internal server is running on http://localhost:3001 pangolin | UnknownZodTypeError { pangolin | message: 'Unknown zod object type, please specify `type` and other OpenAPI props using `schema.openapi`.', pangolin | data: { pangolin | currentSchema: { pangolin | type: 'catch', pangolin | innerType: [ZodOptional], pangolin | catchValue: [Function (anonymous)] pangolin | }, pangolin | schemaName: undefined pangolin | } pangolin | } pangolin | 2026-02-28T10:26:06+00:00 [info]: Next.js server is running on http://localhost:3002 pangolin | 2026-02-28T10:26:06+00:00 [info]: Establishing websocket connection ``` Its working again after downgrading to 1.15.4 ### Environment - OS Type & Version: Debian 12 - Pangolin Version: 1.16.1 - Gerbil Version: 1.3.0 - Traefik Version: 3.6.9 ### To Reproduce Upgrade do 1.16.1 ### Expected Behavior Working Integration API
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#185