GATEWAY • OpenClaw Nugget of the Day
Featured: @smhanov
Gateway errors: making Gmail integrations reliable
When email works once and then fails, the fix is usually: verify gateway health, verify tokens/permissions, and isolate where the failure begins.
Checklist
Check gateway status/health first (don’t debug the agent prompt if the gateway is down).
Verify credentials scope and refresh behavior (expired tokens look like flaky systems).
Add a tiny scheduled health ping so you learn about failures before you ‘need’ email.
Success looks like
• Gateway health check should return OK (or your integration test message succeeds) consistently.
• After scope/refresh is correct, failures stop appearing ‘random’.
Source: X post · link