From 6b77cbacbec1e8a813cc0e5debdcb3282e1ef4e3 Mon Sep 17 00:00:00 2001 From: Jean-Paul van Ravensberg <14926452+Cloudenius@users.noreply.github.com> Date: Fri, 7 Feb 2020 17:42:03 +0100 Subject: [PATCH 1/3] Added troubleshooting info The `INVALID_CLIENT: Invalid redirect URI` error can occur when the URL, for example, contains a port number. This can happen if the port number is set in the Base_URL attribute of the HTTP integration. --- source/_integrations/spotify.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_integrations/spotify.markdown b/source/_integrations/spotify.markdown index f36fb5ca08e7..ed543085d7a1 100644 --- a/source/_integrations/spotify.markdown +++ b/source/_integrations/spotify.markdown @@ -68,6 +68,8 @@ After you have set up the above: - Add a new **Spotify** integration. - Follow the steps shown to authenticate Home Assistant with your Spotify account. +> If you receive an `INVALID_CLIENT: Invalid redirect URI` error while trying to authenticate with your Spotify account, make sure to check the Redirect URI in the address bar after adding the new integration. Compare this value with the Redirect URL defined in the Spotify Developer Portal. + ## URI Links For Playlists You can send playlists to Spotify using the `"media_content_type": "playlist"`, which are part of the From bb5d812b396b141422e9e0454e9353b8fb2e06ac Mon Sep 17 00:00:00 2001 From: Jean-Paul van Ravensberg <14926452+Cloudenius@users.noreply.github.com> Date: Mon, 10 Feb 2020 13:26:47 +0100 Subject: [PATCH 2/3] Convert text to note box --- source/_integrations/spotify.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/_integrations/spotify.markdown b/source/_integrations/spotify.markdown index ed543085d7a1..3cb76b1ec9e5 100644 --- a/source/_integrations/spotify.markdown +++ b/source/_integrations/spotify.markdown @@ -68,7 +68,9 @@ After you have set up the above: - Add a new **Spotify** integration. - Follow the steps shown to authenticate Home Assistant with your Spotify account. -> If you receive an `INVALID_CLIENT: Invalid redirect URI` error while trying to authenticate with your Spotify account, make sure to check the Redirect URI in the address bar after adding the new integration. Compare this value with the Redirect URL defined in the Spotify Developer Portal. +