-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6469226
commit 6a5d55b
Showing
5 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# Git: Error | ||
|
||
An error occured while syncing models to Prismic from a Git repository. | ||
An error occurred while syncing models to Prismic from a Git repository. | ||
|
||
### How to fix the issue | ||
|
||
Syncing the project again by committing to the repository. | ||
Sync the project again by committing to the repository. | ||
|
||
If the issue is not resolved, please check the [Prismic Help Center](https://prismic.io/docs/help-center). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
# Git: Unauthorzed Prismic access | ||
# Git: Unauthorized Prismic access | ||
|
||
The GitHub app tried to make a request to Prismic, but failed due to unauthorized access. | ||
|
||
This error can occur when syncing model changes to Prismic from GitHub with an invalid Prismic Write API token. | ||
|
||
## How to fix the issue | ||
|
||
First, ensure a Prismic Write API token was saved in Slice Machine. You can set, update, and delete a Write API token from Slice Machine's Settings page. | ||
Re-connect the Prismic and GitHub repositories, ensuring the Write API token is active and correct: | ||
|
||
If a token was already saved in Slice Machine, verify that the Prismic Write API token is valid: | ||
1. In Slice Machine's Settings page, disconnect the connected GitHub repository. | ||
1. Re-connect the GitHub repository. | ||
1. When asked for a Write API token, provide a valid token. | ||
|
||
Tokens can be created following these steps: | ||
|
||
1. In the Prismic repository, navigate to the Settings page. | ||
2. Select **API & Security** in the sidebar and the **Write APIs** tab at the top of the page. | ||
3. Verify that the Write API token is listed. If necessary, generate a new token and save it in Slice Machine. | ||
1. Select **API & Security** in the sidebar and the **Write APIs** tab at the top of the page. | ||
1. Create and copy a new Write API token or copy an existing token. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters