For the past 12 hours or so, I’ve been having intermittent issues pushing notifications to the official mobile_app
for iOS. Some go through, some don’t. Seems to be an issue on the backend handling requests — is anyone else experiencing this?
Attempting to push a simple message with the following call:
service: notify.mobile_app_jamie_iphone
data:
title: 'Something'
message: 'Testing'
Results the following error in the logs.
Error sending notification to https://mobile-apps.home-assistant.io/api/sendPushNotification: ContentTypeError(RequestInfo(url=URL('https://mobile-apps.home-assistant.io/api/sendPushNotification'), method='POST', headers=<CIMultiDictProxy('Host': 'mobile-apps.home-assistant.io', 'User-Agent': 'HomeAssistant/2021.5.5 aiohttp/3.7.4.post0 Python/3.8', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate', 'Content-Length': '357', 'Content-Type': 'application/json')>, real_url=URL('https://mobile-apps.home-assistant.io/api/sendPushNotification')), (), message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', headers=<CIMultiDictProxy('Connection': 'keep-alive', 'Content-Length': '14', 'Content-Type': 'text/plain; charset=utf-8', 'Accept-Ranges': 'bytes', 'Date': 'Thu, 20 May 2021 07:16:10 GMT', 'X-Served-By': 'cache-lhr7349-LHR', 'X-Cache': 'MISS', 'X-Cache-Hits': '0', 'X-Timer': 'S1621494970.042377,VS0,VE229', 'Vary': 'x-fh-requested-host, accept-encoding')>)