#OpenRouter + Telegram Config issues (401/404 & JSON syntax)

1 messages Β· Page 1 of 1 (latest)

blazing swan
#

Hi everyone,

I'm trying to set up OpenClaw on Ubuntu (VPS) using OpenRouter (DeepSeek/Qwen models) connected to Telegram.

The Problem:

  1. The bot fails to start with 401 (Unauthorized) or 404 errors.
  2. Every time I try to edit ~/.openclaw/openclaw.json (via nano or cat), the JSON structure gets corrupted or syntax errors appear. It seems like a copy-paste formatting issue in the terminal.

My Setup:

  • OS: Ubuntu Linux
  • Models: deepseek-v4-pro, qwen3.6-plus
  • Provider: OpenRouter

What I need:
Could someone please share a valid, working openclaw.json example configured for OpenRouter?
I have valid API keys, but I suspect my JSON structure is breaking the bot.

Thanks! 🦞

quick groveBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> βœ… Mark Solution