🌿 ✨ [Scheduled] Upgrade Fern CLI #5
Open
Fern API / Preview Generation
failed
Jan 11, 2026 in 20s
Preview Generation Failed
Some preview generations failed. Please review the errors in the output below.
Details
Complete Generation Output
CLI (0.117.0 → 3.37.4) - ❌ FAILED
[2026-01-11T20:22:58.639Z] === Lambda Invocation Started ===
[2026-01-11T20:22:58.639Z] Request ID: undefined
[2026-01-11T20:22:58.639Z] Function: autopilot-prod-GitCommandExecutorLambda4C59063C-ZuNKIBG3KsKN
[2026-01-11T20:22:58.639Z] Node: v20.19.5
[2026-01-11T20:22:58.639Z] Platform: linux x64
[2026-01-11T20:22:58.639Z] Parsing Function URL body
[2026-01-11T20:22:58.639Z] Params: repoUrl=https://github.com/fern-demo/Intercom-OpenAPI.git, ref=upgrade-cli-latest-4, commands=["fern generate --group ts-sdk --preview --log-level warn --version AUTO"]
[2026-01-11T20:22:58.639Z] Git token: provided (40 chars)
[2026-01-11T20:22:58.639Z] Custom environment variables provided: FERN_TOKEN
[2026-01-11T20:22:58.639Z] Will execute 1 command(s)
[2026-01-11T20:22:58.640Z] Created temp directory: /tmp/git-executor-Ypp4bt
[2026-01-11T20:22:58.640Z] Cloning repository: https://github.com/fern-demo/Intercom-OpenAPI.git
[2026-01-11T20:22:58.640Z] [executeCommand] Starting: git clone https://x-access-token:ghs_8dKd4ajICWOrcuxZ78kaOMmFQ3KOaT1sFroT@github.com/fern-demo/Intercom-OpenAPI.git /tmp/git-executor-Ypp4bt
[2026-01-11T20:22:58.642Z] [stderr] Cloning into '/tmp/git-executor-Ypp4bt'...
[2026-01-11T20:22:59.441Z] [executeCommand] Process exited with code: 0
[2026-01-11T20:22:59.441Z] Repository cloned successfully
[2026-01-11T20:22:59.441Z] Checking out ref: upgrade-cli-latest-4
[2026-01-11T20:22:59.441Z] [executeCommand] Starting: git checkout upgrade-cli-latest-4
[2026-01-11T20:22:59.461Z] [stderr] Switched to a new branch 'upgrade-cli-latest-4'
[2026-01-11T20:22:59.461Z] [stdout] branch 'upgrade-cli-latest-4' set up to track 'origin/upgrade-cli-latest-4'.
[2026-01-11T20:22:59.461Z] [executeCommand] Process exited with code: 0
[2026-01-11T20:22:59.462Z] Checked out ref: upgrade-cli-latest-4
[2026-01-11T20:22:59.462Z] Executing command 1/1: fern generate --group ts-sdk --preview --log-level warn --version AUTO
[2026-01-11T20:22:59.462Z] Spawning: fern with args: ["generate","--group","ts-sdk","--preview","--log-level","warn","--version","AUTO"]
[2026-01-11T20:22:59.462Z] [executeCommand] Starting: fern generate --group ts-sdk --preview --log-level warn --version AUTO
[2026-01-11T20:23:11.042Z] [stdout] Warnings for generators.yml:
[2026-01-11T20:23:11.042Z] [stdout] Using "api.path" is deprecated. Please use "api.specs[].openapi" or "api.specs[].asyncapi" instead.
[2026-01-11T20:23:16.605Z] [stdout] [api]: conversations.yml -> service -> endpoints -> convertToTicket -> examples[0] -> response
[2026-01-11T20:23:16.605Z] [stdout] conversations.yml
[2026-01-11T20:23:16.605Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T20:23:16.606Z] [stdout] [api]: conversations.yml -> service -> endpoints -> convertToTicket -> examples[1] -> response
[2026-01-11T20:23:16.606Z] [stdout] conversations.yml
[2026-01-11T20:23:16.606Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T20:23:16.606Z] [stdout] [api]: tickets.yml -> service -> endpoints -> create -> examples[0] -> response
[2026-01-11T20:23:16.606Z] [stdout] tickets.yml
[2026-01-11T20:23:16.606Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T20:23:16.606Z] [stdout] [api]: tickets.yml -> service -> endpoints -> get -> examples[0] -> response
[2026-01-11T20:23:16.606Z] [stdout] tickets.yml
[2026-01-11T20:23:16.606Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T20:23:16.606Z] [stdout] [api]: tickets.yml -> service -> endpoints -> search -> examples[0] -> response
[2026-01-11T20:23:16.606Z] [stdout] tickets.yml
[2026-01-11T20:23:16.606Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T20:23:16.606Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[0] -> response
[2026-01-11T20:23:16.606Z] [stdout] tickets.yml
[2026-01-11T20:23:16.606Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T20:23:16.606Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[1] -> response
[2026-01-11T20:23:16.606Z] [stdout] tickets.yml
[2026-01-11T20:23:16.606Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T20:23:16.606Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[2] -> response
[2026-01-11T20:23:16.606Z] [stdout] tickets.yml
[2026-01-11T20:23:16.606Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T20:23:16.606Z] [stdout] [api]: tickets.yml -> types -> Ticket -> properties -> type -> type
[2026-01-11T20:23:16.606Z] [stdout] tickets.yml
[2026-01-11T20:23:16.606Z] [stdout] [error] Default values are not supported for the named type
[2026-01-11T20:23:16.606Z] [stdout] [api]: Found 9 errors and 6 warnings in 1.579 seconds. Run fern check --warnings to print out the warnings not shown.
[2026-01-11T20:23:16.703Z] [stdout] [api]: Warnings for generators.yml:
[2026-01-11T20:23:16.703Z] [stdout] [api]: Using "api.path" is deprecated. Please use "api.specs[].openapi" or "api.specs[].asyncapi" instead.
[2026-01-11T20:23:17.068Z] [executeCommand] Process exited with code: 1
[2026-01-11T20:23:17.068Z] ERROR during execution: Command failed with exit code 1
[2026-01-11T20:23:17.068Z] Stack trace: Error: Command failed with exit code 1
at ChildProcess.<anonymous> (/var/task/index.js:197:23)
at ChildProcess.emit (node:events:524:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[2026-01-11T20:23:17.068Z] Cleaning up temp directory: /tmp/git-executor-Ypp4bt
[2026-01-11T20:23:17.073Z] Cleanup completed
[2026-01-11T20:23:17.073Z] === Lambda Completed with status 500 ===
Loading