Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions core/operations/management/error_utils.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ extract_common_query_error_code(std::uint64_t code, const std::string& message)
case 1194: /* ICode: E_SERVICE_USER_RESULT_SIZE_EXCEEDED, IKey: "service.result.size.exceeded" */
return errc::common::rate_limited;

case 13014: /*ICode: E_DATASTORE_INSUFFICIENT_CREDENTIALS, IKey: "datastore.couchbase.insufficient_credentials" */
return errc::common::authentication_failure;

case 5000:
if (message.find("Limit for number of indexes that can be created per scope has been reached") != std::string::npos) {
return errc::common::quota_limited;
Expand Down