Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Monium
  • Getting started
  • Overview
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
        • Overview
        • DashboardService
  • Release notes

In this article:

  • Processing mutating operation responses
  • Error handling
  • Object update conflicts
  1. API reference
  2. Metrics
  3. gRPC
  4. Overview

Overview

Written by
Yandex Cloud
Updated at July 20, 2026
View in Markdown
  • Processing mutating operation responses
  • Error handling
    • Object update conflicts

This API reference is organized by resource. To perform an operation on a resource, make an RPC call. For more information, see Yandex Cloud API concepts.

Service Description Use cases
DashboardService Methods for managing dashboards grpcurl

Processing mutating operation responsesProcessing mutating operation responses

Any operation changing a resource state has an asynchronous signature. When these operations are called, the server returns the Operation object.

The Operation object contains operation data, e.g., its status, ID, creation date, etc. You can use it for operation status monitoring. The operation status is displayed in the done field. Once the operation is completed, the done field value changes to true. Currently, all operations are synchronous and return done=true or an error.

An error during an asynchronous operation causes the server to abort all running procedures and add the error description field to the Operation object.

If in response to your request, you receive an Operation object, proceed as follows:

  • Check that done=true.
  • Check that the error field is empty.
  • Get the value of the response field.

Error example:

code: 6
message: "ALREADY_EXISTS: Name must be uniq in parentId"

Error handlingError handling

If an error occurs, the Monium.Metrics API returns the gRPC status != OK. The response body contains an error description in the following format:

code: <number> error code
message: <string>  error message

Error description example:

code: 6
message: "ALREADY_EXISTS: Name must be uniq in parentId"

Currently, there is no fixed list of error codes, so the code field is reserved for use in future Monium.Metrics versions.

Tip

We recommend logging error messages, which will help the support team understand the problems’s cause.

Object update conflictsObject update conflicts

To resolve conflicts when updating objects, use the optional etag field that you can provide to the mutating operations and retrieve using the Get method. An object will be updated if it is not modified by another concurrent request, and the operation's etag matches the server value. If an error occurs, get a new etag and retry the operation.

etag: Optional field. If it is not provided, the last-write-wins policy will be in effect.

Was the article helpful?

Previous
listMetrics
Next
DashboardService
© 2026 Direct Cursus Technology L.L.C.