No messages in app.messages
- Confirm
projectId+projectSecretare set for cloud mode - Check
app.ready— the line may still be connecting - Verify iMessage is enabled:
sky skyline platforms ls
BrokerError on startup
| Code | Fix |
|---|---|
PLATFORM_NOT_ENABLED | Enable iMessage on the project |
HTTP_401 | Rotate secret or check credentials |
NO_LINES | Add a line or wait for pool allocation |
Send fails with error signal
Listen on app.on("error", …) for the platform error code. Common causes: invalid handle, line not ready, or quota exceeded.
Dedicated mode won’t connect
- Confirm gRPC endpoint is reachable over Tailscale
- Token must match what the server expects in metadata
- Each line needs a
phonefield for routing