{"version":"2.1.328","anchor":"api-timeout-error-message-now-suggests-api-timeout-ms","canonical_anchor":"api-timeout-error-message-now-suggests-api-timeout-ms","heading":"Timeout errors now say how to raise API_TIMEOUT_MS","tier":"notice","area":"Internals","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/api-timeout-error-message-now-suggests-api-timeout-ms","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Timeout errors now say how to raise API_TIMEOUT_MS\n\nA timed-out API request now explains that API_TIMEOUT_MS can be raised above the limit in force, with a variant for proxies and gateways\n\n**Unclear.** It is not clear under what condition the advice is added, so not everyone who hits a timeout may see it.\n\n**What**\n\nWhen a request to the API timed out, this path used to give a fixed server error message. It now checks the configured `API_TIMEOUT_MS`, the time limit for requests in milliseconds, and for some errors adds advice to set it above the limit in force, which the message gives as \"600000 by default\". There is also a version for when a proxy or gateway, a server between you and the API, holds back responses. The extra advice depends on a further check whose details were not found.\n\n**Why**\n\nIf your network is slow or you work behind a proxy, a timeout now tells you which setting to change instead of only reporting a server error.\n\n- Area: Internals\n- Names: `API_TIMEOUT_MS`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}