[COMPASS-7138] Add error code and message for when needs version update for ai Created: 23/Aug/23  Updated: 11/Sep/23  Resolved: 11/Sep/23

Status: Closed
Project: Compass
Component/s: GAI
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates COMPASS-7189 Add error 406 for version not supported Closed
Epic Link: COMPASS-7010
Story Points: 3
Documentation Changes: Not Needed

 Description   

At some point down the line we might need to deprecate an endpoint and we want Compass folks to upgrade their Compass version. We can do this with an error code. When we receive the error code we can then surface an error in Compass letting folks know they should upgrade to the newest Compass version to use the feature.

Let's keep our error codes documented in https://docs.google.com/document/d/1VplQzRSdUOf0NU-guhorKC4WmJMsoyItcD16uaolGYA/edit#heading=h.2s9zdv6a57gn 
Not sure if the error message should be in Compass or something more generic Compass knows to show from the backend.



 Comments   
Comment by Rhys Howell [ 11/Sep/23 ]

Done as part of COMPASS-7189

Generated at Wed Feb 07 22:45:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.