Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • 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.
Command line interface
  • Getting started with the CLI
  • CLI releases
  • Troubleshooting

In this article:

  • CLI installation errors
  • Errors when working with the CLI
  • Resource not found when accessed by name

CLI troubleshooting

Written by
Yandex Cloud
Updated at May 5, 2026
  • CLI installation errors
  • Errors when working with the CLI
  • Resource not found when accessed by name

CLI installation errorsCLI installation errors

Failure writing output to destinationFailure writing output to destination

If curl was installed on Linux Ubuntu using a snap package, you may get the curl: (23) Failure writing output to destination error while installing the CLI.

To fix this error, delete curl and reinstall it using the apt package manager:

sudo snap remove curl
sudo apt install curl

Then repeat the CLI installation.

Errors when working with the CLIErrors when working with the CLI

If an error occurs during the operation, the CLI displays the corresponding message.

Error message exampleError message example

yc compute instance create --name my-inst3 --metadata user-data="#ps1\nnet user Administrator Passw0rd" --zone ru-central1-a --public-ip --create-boot-disk image-folder-id=standard-images,image-name=windows-2016-gvlk-153
7967224
ERROR: rpc error: code = ResourceExhausted desc = The limit on maximum number of instances has exceeded.


server-request-id: 9d42710c-4a14-4561-a491-1f3bf76dbaaa
client-request-id: e69f4463-b9de-45bc-89b3-4db6e4d1bae6
client-trace-id: ddd8c763-81a3-4c58-9a7d-445257b59aee

Use server-request-id, client-request-id, client-trace-id for investigation of issues in cloud support
If you are going to ask for help of cloud support, please send the following trace file: C:\Users\username\yandex-cloud\logs\yc_compute_instance_create-2019-02-18T12-26-39.897.txt

What should I do?What should I do?

To help our support team solve your problem faster, from the error message:

  1. Copy all available IDs. In our example, they are server-request-id, client-request-id, and client-trace-id.
  2. Copy the trace file that was saved to your PC. See the path to the trace file at the end of the error message.
    In our example, it is:
    C:\Users\username\yandex-cloud\logs\yc_compute_instance_create-2019-02-18T12-26-39.897.txt
    
  3. Provide this information to the technical support team.

Resource not found when accessed by nameResource not found when accessed by name

If you get an error when accessing a resource by name:

ERROR: ... not found

or

ERROR: rpc error: code = NotFound ...

The resource is most likely not in the default folder of the current CLI profile.

To fix this issue, explicitly specify the folder using the --folder-id or --folder-name parameter:

yc <service> <resource> get <resource_name> --folder-id <folder_ID>

Example for a VM:

yc compute instance get my-vm --folder-id b1g5bhjofg7o********

If you work with this folder regularly, make it your default folder.

yc config set folder-id <folder_ID>

If using the resource ID, there is no need to specify the folder because their IDs are unique.

Was the article helpful?

Previous
CLI releases
© 2026 Direct Cursus Technology L.L.C.