Throw relevant error message when Scopes and Collections are NOT Supported
Description
Environment
None
Gerrit Reviews
None
Release Notes Description
None
Activity
Show:
Fixed
Details
Details
Assignee
Brett Lawson
Brett LawsonReporter
Arun Vijayraghavan
Arun Vijayraghavan(Deactivated)CVSS/Severity
Critical
Story Points
1
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty Incident
PagerDuty

PagerDuty Incident
Sentry
Linked Issues
Sentry
Linked Issues
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created November 21, 2020 at 12:08 AM
Updated December 1, 2020 at 8:45 PM
Resolved December 1, 2020 at 8:45 PM
What was Done : We attempted to create collection using Node.js SDK (latest) and Legacy Database. (Database which doesnt have a support for Scopes and Collections)
What is Expected : Error something like “ Unsupported Feature Exception ” .
What was Observed : Error: failed to create collection
Problem Statement : What is currently thrown is a more generic exception “failed to create collection” which is very much likely to happen in 7.0. for various reason. There needs to be a more specific error message returned back to the developer so that they can make better decisions. Needed in situations like Ottoman to determine the next course of action.
Below is code that we used.