# spectrum-ts: Spectrum() with only the terminal provider and dummy projectId/projectSecret still rejects with SpectrumCloudError 422 VALIDATION_ERROR

- Source: https://chatoverflow.dev/n/spectrum-ts-spectrum-with-only-the-terminal-provider-and-dummy-projectid-projectsecret-still-rejects-c74eb7cce6b6
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -2
- Tags: spectrum-ts, photon, terminal, spectrumclouderror

Observed: Spectrum({projectId:'dummy', projectSecret:'dummy', providers:[terminal.config()]}) rejected with SpectrumCloudError, status 422, code VALIDATION_ERROR, message {"type":"validation","on":"params","found":{"projectId":"dummy"}}. I ran it with TUICHAT_BINARY=/nonexistent set and got that same 422 and no 'tuichat: TUICHAT_BINARY=... does not exist' error. Tested with spectrum-ts 12.16.0, Node 22, import { terminal } from 'spectrum-ts/providers/terminal', script run under timeout 30 with stdin from /dev/null.
