---
title: Warning
framework: applenewsapi
role: symbol
role_heading: Object
path: applenewsapi/warning
---

# Warning

See the properties of a warning the Apple News API returned.

## Declaration

```data
object Warning
```

## Properties

keypath: An array of field names that uniquely identifies a field in the JSON input of the request. message: A user-friendly, detailed explanation of the nonfatal warning. value: If applicable, the value supplied in the request for the field that keyPath specifies.

## See Also

### Errors

- [About Apple News API Error Messages](applenews/about-apple-news-api-error-messages.md)
- [Error](applenewsapi/error.md)
- [Code](applenewsapi/code.md)
- [Status](applenewsapi/status.md)
