cody icon indicating copy to clipboard operation
cody copied to clipboard

Fix 400 error for Cody Pro users who change models

Open chenkc805 opened this issue 1 year ago • 1 comments

Problem:

  • Some users who upgrade to Pro and try out new models are seeing a 400 error from Gateway
  • This is not uncommon and an easy fix is to log out and log back in.

Proposed Fix:

  • If this error and fix is 1 to 1 (meaning that this error is fixed if and only if the user logs in and logs out), then we can wrap better error messaging when we receive this Gateway error. For example, we can tell the user: If you're experiencing this issue, please try logging out and logging back in. If the problem persists, please contact support.

Examples: image (3) image (4) image (5) Screenshot 2024-04-26 at 11 42 01 AM (1)

Slack Message

chenkc805 avatar Apr 29 '24 19:04 chenkc805

Adding @toolmantim for visibility

chenkc805 avatar Apr 29 '24 19:04 chenkc805

This issue is marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed automatically in 5 days.

github-actions[bot] avatar Jul 31 '24 01:07 github-actions[bot]

This issue is marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed automatically in 5 days.

github-actions[bot] avatar Jan 17 '25 01:01 github-actions[bot]