🌿 ✨ [Scheduled] Upgrade Fern CLI #7
Open
Fern API / Preview Generation
failed
Jan 12, 2026 in 17s
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.5) - ❌ FAILED
[2026-01-12T16:58:18.876Z] === Lambda Invocation Started ===
[2026-01-12T16:58:18.876Z] Request ID: undefined
[2026-01-12T16:58:18.876Z] Function: autopilot-prod-GitCommandExecutorLambda4C59063C-ZuNKIBG3KsKN
[2026-01-12T16:58:18.876Z] Node: v20.19.5
[2026-01-12T16:58:18.876Z] Platform: linux x64
[2026-01-12T16:58:18.876Z] Parsing Function URL body
[2026-01-12T16:58:18.876Z] Params: repoUrl=https://github.com/fern-demo/Intercom-OpenAPI.git, ref=upgrade-cli-latest-6, commands=["fern generate --group ts-sdk --preview --log-level warn --version AUTO"]
[2026-01-12T16:58:18.876Z] Git token: provided (40 chars)
[2026-01-12T16:58:18.876Z] Custom environment variables provided: FERN_TOKEN
[2026-01-12T16:58:18.876Z] Will execute 1 command(s)
[2026-01-12T16:58:18.876Z] Created temp directory: /tmp/git-executor-4FxkF1
[2026-01-12T16:58:18.876Z] Cloning repository: https://github.com/fern-demo/Intercom-OpenAPI.git
[2026-01-12T16:58:18.876Z] [executeCommand] Starting: git clone https://x-access-token:ghs_PUMrkrCJD8wLDLovFlzTPQFjCIQVXf3npWoy@github.com/fern-demo/Intercom-OpenAPI.git /tmp/git-executor-4FxkF1
[2026-01-12T16:58:18.879Z] [stderr] Cloning into '/tmp/git-executor-4FxkF1'...
[2026-01-12T16:58:19.677Z] [executeCommand] Process exited with code: 0
[2026-01-12T16:58:19.677Z] Repository cloned successfully
[2026-01-12T16:58:19.677Z] Checking out ref: upgrade-cli-latest-6
[2026-01-12T16:58:19.677Z] [executeCommand] Starting: git checkout upgrade-cli-latest-6
[2026-01-12T16:58:19.696Z] [stderr] Switched to a new branch 'upgrade-cli-latest-6'
[2026-01-12T16:58:19.696Z] [stdout] branch 'upgrade-cli-latest-6' set up to track 'origin/upgrade-cli-latest-6'.
[2026-01-12T16:58:19.697Z] [executeCommand] Process exited with code: 0
[2026-01-12T16:58:19.697Z] Checked out ref: upgrade-cli-latest-6
[2026-01-12T16:58:19.697Z] Executing command 1/1: fern generate --group ts-sdk --preview --log-level warn --version AUTO
[2026-01-12T16:58:19.697Z] Spawning: fern with args: ["generate","--group","ts-sdk","--preview","--log-level","warn","--version","AUTO"]
[2026-01-12T16:58:19.697Z] [executeCommand] Starting: fern generate --group ts-sdk --preview --log-level warn --version AUTO
[2026-01-12T16:58:30.766Z] [stdout] Warnings for generators.yml:
[2026-01-12T16:58:30.766Z] [stdout] Using "api.path" is deprecated. Please use "api.specs[].openapi" or "api.specs[].asyncapi" instead.
[2026-01-12T16:58:35.644Z] [stdout] [api]: conversations.yml -> service -> endpoints -> convertToTicket -> examples[0] -> response
[2026-01-12T16:58:35.644Z] [stdout] conversations.yml
[2026-01-12T16:58:35.644Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:58:35.644Z] [stdout] [api]: conversations.yml -> service -> endpoints -> convertToTicket -> examples[1] -> response
[2026-01-12T16:58:35.644Z] [stdout] conversations.yml
[2026-01-12T16:58:35.644Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:58:35.644Z] [stdout] [api]: tickets.yml -> service -> endpoints -> create -> examples[0] -> response
[2026-01-12T16:58:35.644Z] [stdout] tickets.yml
[2026-01-12T16:58:35.644Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:58:35.644Z] [stdout] [api]: tickets.yml -> service -> endpoints -> get -> examples[0] -> response
[2026-01-12T16:58:35.644Z] [stdout] tickets.yml
[2026-01-12T16:58:35.644Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:58:35.644Z] [stdout] [api]: tickets.yml -> service -> endpoints -> search -> examples[0] -> response
[2026-01-12T16:58:35.644Z] [stdout] tickets.yml
[2026-01-12T16:58:35.645Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:58:35.645Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[0] -> response
[2026-01-12T16:58:35.645Z] [stdout] tickets.yml
[2026-01-12T16:58:35.645Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:58:35.645Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[1] -> response
[2026-01-12T16:58:35.645Z] [stdout] tickets.yml
[2026-01-12T16:58:35.645Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:58:35.645Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[2] -> response
[2026-01-12T16:58:35.645Z] [stdout] tickets.yml
[2026-01-12T16:58:35.645Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-12T16:58:35.645Z] [stdout] [api]: tickets.yml -> types -> Ticket -> properties -> type -> type
[2026-01-12T16:58:35.645Z] [stdout] tickets.yml
[2026-01-12T16:58:35.645Z] [stdout] [error] Default values are not supported for the named type
[2026-01-12T16:58:35.645Z] [stdout] [api]: Found 9 errors and 6 warnings in 1.306 seconds. Run fern check --warnings to print out the warnings not shown.
[2026-01-12T16:58:35.773Z] [stdout] [api]: Warnings for generators.yml:
[2026-01-12T16:58:35.773Z] [stdout] [api]: Using "api.path" is deprecated. Please use "api.specs[].openapi" or "api.specs[].asyncapi" instead.
[2026-01-12T16:58:35.984Z] [executeCommand] Process exited with code: 1
[2026-01-12T16:58:35.984Z] ERROR during execution: Command failed with exit code 1
[2026-01-12T16:58:35.984Z] 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-12T16:58:35.984Z] Cleaning up temp directory: /tmp/git-executor-4FxkF1
[2026-01-12T16:58:35.989Z] Cleanup completed
[2026-01-12T16:58:35.989Z] === Lambda Completed with status 500 ===
Loading