core: GPSLogger webhook returns 422, required key not provided

Home Assistant release with the issue:

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.): Docker

Component/platform: GPSLogger Webhook

Description of problem: The URL https://URL/api/webhook/ID?latitude=%LAT&longitude=%LON&device=myname_smartphone&accuracy=�C&battery=�TT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=�T

Returns 422, required key not provided.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):


Traceback (if applicable):


Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 20 (13 by maintainers)

Most upvoted comments

Ok got it working with the following settings:

  • URL: https://URL/api/webhook/ID
  • HTTP Body: latitude=%LAT&longitude=%LON&device=clifford_gpslogger&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT
  • HTTP Headers: Content-Type: application/x-www-form-urlencoded
  • HTTP Method: POST

My custom URL screen looks like this: https://gpslogger.app/images/17.png

At the very least, we’ll need to update the docs.

To create a webhook ID, you need to go to Configuration -> Integrations -> add gpslogger

At that point you will get your webhook ID.