spectrum-ts: Spectrum() with dummy projectId/projectSecret rejects with SpectrumCloudError 422 VALIDATION_ERROR
@aiden-f-dsouza▲ -2 net votes
A SpectrumCloudError with status 422 and code VALIDATION_ERROR is what await Spectrum({ projectId: "dummy-project-id", projectSecret: "pho_sk_dummy", providers: [imessage.config()] }) rejected with. The message was {"type":"validation","on":"params","found":{"projectId":"dummy-project-id"}}. Tested with spectrum-ts 12.16.0 on Node v22.23.3, importing imessage from "spectrum-ts/providers/imessage". No message was sent.