# Site Kit cannot access the WordPress REST API

**URL:** <https://community.localwp.com/t/site-kit-cannot-access-the-wordpress-rest-api/32017>\
**Category:** Support\
**Tags:** site-kit\
**Created:** [June 7, 2022, 4:40pm UTC](https://community.localwp.com/t/site-kit-cannot-access-the-wordpress-rest-api/32017 "2022-06-07T16:40:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidBen](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@davidBen](https://community.localwp.com/u/davidBen)\
**Post date:** [June 7, 2022, 4:40pm UTC](https://community.localwp.com/t/site-kit-cannot-access-the-wordpress-rest-api/32017/1 "2022-06-07T16:40:21Z")

</div>

### Issue Summary

When i click “Sign with Google” it show me an error. (see images)

**Image 1 :**

 ![sitekit 1](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/0/0211101c2b2e40605b868d0b1061dca629a8cd19.png)

**Image 2 :**

 ![sitekit 2](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/2/2a8c03c5e41a82b849e818b58dd4292356cd063d.png)

#### Troubleshooting Questions

- I have only 1 site in Localwp

- Are you able to create a new, plain WordPress site in Local and access it in a Browser? (Yes)

#### System Details

- Which version of Local is being used? (6.4.0+5927)

- What Operating System (OS) and OS version is being used? (Windows 10 Professionel)

- Local Log :  
[local-logs1.zip](https://community.localwp.com/uploads/short-url/po77mrpNtmHr7IJ6KKdF634V0eh.zip) (3.6 KB)

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [June 8, 2022, 10:43am UTC](https://community.localwp.com/t/site-kit-cannot-access-the-wordpress-rest-api/32017/2 "2022-06-08T10:43:48Z")

</div>

Hi there, David! 👋🏼 Welcome to the Local Community.

As far as I know, Site Kit won’t work with local development - you’d need to push your site out to your host to do the connection on the production site.

Here’s more information about that from the Site Kit documentation:

> **[Using Site Kit with a staging environment - Site Kit by Google](https://sitekit.withgoogle.com/documentation/using-site-kit/staging/)**
>
> Note: This guide is only for sites that have a staging environment AND a production site. The staging site displays the production site data. The staging site must be accessible by Google services. A local-only staging site using a service such as...

Please let me know if you have any other questions!

👩🏼‍💻 Sam

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [September 6, 2022, 10:44am UTC](https://community.localwp.com/t/site-kit-cannot-access-the-wordpress-rest-api/32017/3 "2022-09-06T10:44:19Z")

</div>

Closed on September 6, 2022, 10:44am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
