Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for Cloud Functions
    • You see a CORS error when accessing the SpeechKit, Vision, or Translate API from your web application frontend
    • Fixing HTTP 499 errors when working with a cloud function or serverless container
    • How to set up a static IP address

In this article:

  • Issue description
  • Solution
  • If the issue persists
  1. Cloud Functions
  2. Fixing HTTP 499 errors when working with a cloud function or serverless container

Fixing HTTP 499 errors when working with a cloud function or serverless container

Written by
Yandex Cloud
Updated at November 27, 2023
  • Issue description
  • Solution
  • If the issue persists

Issue descriptionIssue description

  • In the log of the cloud function or serverless container, you see messages like Error: Code 499 Message: request cancelled.

SolutionSolution

This behavior occurs when the function breaks the connection before a response from the server is sent to it. For instance, when the timeout per request in the function expires, the request is cancelled (which is why the log shows the "Request cancelled" line).

Carry out the following actions to solve the issue:

  1. Add logging to the function code. We have prepared an example of setting up logging for Python cloud functions in the documentation.

  2. Revise your function logic. For instance, it is good practice to run different API methods by different service accounts. In case, for some reason (security systems, token expiration, etc.), the account that is using the API loses access, then only one or some methods of the function will have issues, rather than the entire function. Furthermore, this approach will help simplify diagnostic of the function if other issues arise with it in the future.

If the issue persistsIf the issue persists

If the above actions didn't help, create a request for support.
Provide the following information in the request:

  1. ID of the cloud function or serverless container
  2. Content of the log of the cloud function or the serverless container (the function's operation logs are available in the Logs section on the function's page in the management console).

Was the article helpful?

Previous
You see a CORS error when accessing the SpeechKit, Vision, or Translate API from your web application frontend
Next
How to set up a static IP address
© 2025 Direct Cursus Technology L.L.C.