enum TimeZoneError.Reason (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
TimeZoneError.Reason describes various reasons for an invalid timezone.
Reasons for an invalid timezone include an unsupported timezone ID, a timezone ID in the wrong format (which should be in tz database format like "America/Los_Angeles"), and an unknown reason for the requested API version.
This enumeration is used across several services such as ForecastService, LineItemService, OrderService, and more.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The document defines the `TimeZoneError.Reason` enumeration, detailing reasons for invalid timezones. The enumeration includes `INVALID_TIMEZONE_ID`, indicating an unsupported ID, and `TIMEZONE_ID_IN_WRONG_FORMAT`, specifying the ID must follow the tz database format (e.g., \"America/Los_Angeles\"). `UNKNOWN` is used when the true value isn't exposed by the API version. This error type is linked to Forecast, LineItem, LineItemTemplate, Order, ProposalLineItem, Proposal and User services.\n"]]