Skip to content

KnearMe MCP Worker Troubleshooting

Likely causes:

  • Wrong JWT_PUBLIC_KEY.
  • OAUTH_ISSUER mismatch.
  • OAUTH_RESOURCE mismatch.

Fixes:

  1. Re-push correct key.
  2. Validate issuer/resource configuration in wrangler.toml and deployed env.

Cause: upstream portfolio API issues or route mismatch.

Action: validate PORTFOLIO_API_URL and test endpoint availability directly.

Environment confusion (staging vs production)

Section titled “Environment confusion (staging vs production)”

Cause: wrong env deployment target.

Action: deploy explicitly with env flags/pipeline config and verify runtime vars after deploy.