{"record":{"id":"89732ba894229f2f","repo":"home-assistant/core","slug":"invalid-info-skill-value","errorCode":"invalid_info_skill_value","errorMessage":"Invalid info skill {info_skill} specified","messagePattern":"Invalid info skill (.+?) specified","errorType":"validation","errorClass":"ServiceValidationError","httpStatus":null,"severity":"error","filePath":"homeassistant/components/alexa_devices/services.py","lineNumber":104,"sourceCode":"        if value not in SOUNDS_LIST:\n            raise ServiceValidationError(\n                translation_domain=DOMAIN,\n                translation_key=\"invalid_sound_value\",\n                translation_placeholders={\"sound\": value},\n            )\n        async with alexa_api_call():\n            await coordinator.api.call_alexa_sound(\n                coordinator.data[device.serial_number], value\n            )\n    elif attribute == ATTR_TEXT_COMMAND:\n        async with alexa_api_call():\n            await coordinator.api.call_alexa_text_command(\n                coordinator.data[device.serial_number], value\n            )\n    elif attribute == ATTR_INFO_SKILL:\n        info_skill = INFO_SKILLS_MAPPING.get(value)\n        if info_skill not in ALEXA_INFO_SKILLS:\n            raise ServiceValidationError(\n                translation_domain=DOMAIN,\n                translation_key=\"invalid_info_skill_value\",\n                translation_placeholders={\"info_skill\": value},\n            )\n        async with alexa_api_call():\n            await coordinator.api.call_alexa_info_skill(\n                coordinator.data[device.serial_number], info_skill\n            )\n\n\nasync def async_send_sound_notification(call: ServiceCall) -> None:\n    \"\"\"Send a sound notification to a AmazonDevice.\"\"\"\n    await _async_execute_action(call, ATTR_SOUND)\n\n\nasync def async_send_text_command(call: ServiceCall) -> None:\n    \"\"\"Send a custom command to a AmazonDevice.\"\"\"\n    await _async_execute_action(call, ATTR_TEXT_COMMAND)","sourceCodeStart":86,"sourceCodeEnd":122,"githubUrl":"https://github.com/home-assistant/core/blob/58a3fdb3ea0538617f0a07efcfba6294de64fd59/homeassistant/components/alexa_devices/services.py#L86-L122","documentation":"ServiceValidationError with translation key alexa_devices/invalid_info_skill_value, raised in _async_execute_action when the ATTR_INFO_SKILL value of the service call does not map through INFO_SKILLS_MAPPING to a value in ALEXA_INFO_SKILLS — the set of supported Alexa information skills (weather, traffic, etc.).","triggerScenarios":"Calling the info-skill service with a skill name that INFO_SKILLS_MAPPING.get(value) returns None (or a value not in ALEXA_INFO_SKILLS), e.g. 'my_custom_skill' or a misspelled entry like 'wheather'.","commonSituations":"Users passing arbitrary Alexa skill names instead of the fixed info-skill vocabulary, YAML written against an older mapping, or typos/casing mismatches.","solutions":["Check INFO_SKILLS_MAPPING in the integration source for accepted keys and use one exactly","Use the UI service selector dropdown, which enumerates valid info skills","Fix typos and casing in the automation/script YAML","After a Home Assistant upgrade, re-check the mapping for renamed skills"],"exampleFix":"// before\naction:\n  domain: alexa_devices\n  data:\n    device_id: \"...\"\n    info_skill: \"weather_report_typo\"\n// after\naction:\n  domain: alexa_devices\n  data:\n    device_id: \"...\"\n    info_skill: \"weather\"  # a key present in INFO_SKILLS_MAPPING","handlingStrategy":"validation","validationCode":"from homeassistant.components.alexa_devices.const import INFO_SKILLS_MAPPING, ALEXA_INFO_SKILLS\nif INFO_SKILLS_MAPPING.get(info_skill) not in ALEXA_INFO_SKILLS:\n    _LOGGER.warning(\"Unsupported info skill %r; valid: %s\", info_skill, sorted(INFO_SKILLS_MAPPING))\n    return","typeGuard":"def is_valid_info_skill(value: str) -> bool:\n    \"\"\"True when value maps to a supported Alexa info skill.\"\"\"\n    return INFO_SKILLS_MAPPING.get(value) in ALEXA_INFO_SKILLS","tryCatchPattern":"try:\n    await hass.services.async_call(DOMAIN, SERVICE, service_data, blocking=True)\nexcept ServiceValidationError as err:\n    if err.translation_key == \"invalid_info_skill_value\":\n        _LOGGER.warning(\"Invalid info skill; use a key from INFO_SKILLS_MAPPING\")","preventionTips":["Use the UI selector enumerating valid info skills","Validate against INFO_SKILLS_MAPPING before calling from automations","Re-verify the mapping after HA upgrades"],"tags":["alexa-devices","service-call","validation","user-input","homeassistant"],"backgroundTag":null,"analyzedSha":"58a3fdb3ea0538617f0a07efcfba6294de64fd59","analyzedAt":"2026-08-14T20:54:38.818Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}