Failing to load Google Photos with 401 error. Workaround fails too.
-
Failed to get data. Error: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Photonics loaded Google Photos fine on my site until I updated the plugin recently. I reconfigured from scratch following each steps you’ve provided, including the Google API management, client id, and secret retrieval & then inclusion on WordPress side.
On the WordPress side, the first step in ‘Google Photos’ authentication works but when I try to obtain the token, the page shows the loading animation indefinitely without results.
Then I followed each step you’ve provided as a workaround for authentication issues. I did everything outlined there including oauthplayground authorization, refresh token generation, & its inclusion along with client id and secret on the WordPress side. However, the page on my site set (before when everything worked) to show Google Photos albums with photonic now shows the aforementioned error.
And when I try to add a new Google Photos with Photonic, it shows the error:
No data returned. Error code 401.
On my server-side, wp-admin/admin.php is password protected (Photonics used to work with this setup before). I have no other plugins of type – caching, security, or otherwise, that is enabled except Photonic.
- The topic ‘Failing to load Google Photos with 401 error. Workaround fails too.’ is closed to new replies.