Visual Editor Cannot be setup

I am having this same exact issue!

We’re waiting for a HAR file from @srm.netlify.cms. If you have one, @RemingtonHolder, please share.

Same issue here (unfortunately I can’t upload the redacted HAR as I am a new user).

1 Like

Posted the HAR here: HAR file corresponding to issue when trying to set up Visual editor in a Netlify site · GitHub

1 Like

@hrishikesh could you please check our HAR? we’re having the same exact issue

@hrishikesh could you please check our issue above? we’re also seeing this on telnyxdotcom-docs site

@aitortelnyx @dottelnyx I’ve escalated both of your requests to our helpdesk, you’ll receive an update via email

1 Like

@sid.m Could i also have this issue escalated? I am posting a redacted HAR here, if a full version is needed I can be contacted directly. HAR FILE

+1
Double checked all permissions and I’m also getting the analyze-repo 404 with {"name":"GithubAccessTokenNotFound"}

https://astrostarter-misa.netlify.app/

Ok I fixed it by changing my netlify email to match my github email address

Any progress on this issue or I am stuck here forever?

Hi @sid.m and team,

I’m experiencing the exact same issue as described above where the “Install Netlify Visual Editor app” window opens and after installing via github, instantly closes with no progress or feedback within Netlify.

I’ve tried the following suggestions without success:

  • Set up a new site on the Netlify app and retried the flow multiple times.
  • Verified that the Netlify GitHub app is installed on my repo with the correct permissions, granting access to all repositories.
  • Used the same GitHub account for both the visual editor and the repo access.

Despite these efforts, I’m still encountering the same problem. The window closes immediately after completing the install, with no errors or messages displayed. Additionally, my Netlify email matches my GitHub email, so that potential mismatch is not the issue here.

I’m on a deadline until July 31st to get the visual editor enabled.

2 Likes

Hi @sid.m,

we’re facing the exact same issue and we tried the same suggestions with no luck.

@RemingtonHolder sorry for the wait here, I’ve escalated your ticket to our helpdesk, you’ll receive a follow-up via email

@elendir Thanks for updating us with this fix! This was an edge case identified by our devs and we recently shipped a fix for this mismatched email address issue.

@kolanuts I’ve escalated your ticket to our helpdesk, you should receive a follow-up via email!

@dottelnyx I’ve escalated your request to our helpdesk, you’ll receive a follow-up via email!

@sid.m Retried the steps above and now Visual Editor App button is done, the “Save” button is enabled but when I click on it to Enable the Visual Editor in Netlify I’m getting the following error:

{"name":"GithubWebhookCreationError","status":500,"message":"Github: Webhook creation error"}

Request URL: https://app.netlify.com/access-control/bb-api/api/v1/sites/5ba398e2-ae2a-4899-8ef1-7964ce0c2ba4

Request Method: PUT
Status Code: 500 Internal Server Error

Request Payload:

{
    "visual_editor_settings": {
        "coreAccountId": "<redacted>",
        "previewBranch": "preview",
        "publishBranch": "main",
        "projectParameters": {
            "name": "telnyxdotcom-docs",
            "cmsData": {
                "cmsName": null
            },
            "config": "import { defineStackbitConfig } from '@stackbit/types';\n\nexport default defineStackbitConfig({\n    \"stackbitVersion\": \"~0.6.0\",\n    \"nodeVersion\": \"18\",\n    \"ssgName\": \"custom\",\n    \"contentSources\": [],\n    \"postInstallCommand\": \"npm i --no-save @stackbit/types\"\n})",
            "generateConfig": true,
            "ssgData": {
                "ssgName": "custom",
                "ssgDir": "",
                "runnableDir": ""
            },
            "envVars": {
                "GITHUB_REPO_TOKEN": {
                    "value": "<redacted>",
                    "isValid": true,
                    "secure": false
                },
                "NODE_OPTIONS": {
                    "value": "--max-old-space-size=8192",
                    "isValid": true,
                    "secure": false
                }
            },
            "settings": {
                "appConfigEnv": "prod"
            },
            "deployData": {
                "deployName": "netlify",
                "sharedUser": false,
                "siteId": "5ba398e2-ae2a-4899-8ef1-7964ce0c2ba4"
            }
        },
        "repoInfo": {
            "selectedGitRepo": {
                "name": "developer-docs",
                "owner": {
                    "login": "team-telnyx"
                }
            },
            "useExistingRepo": true,
            "selectedRepoUrl": "https://github.com/team-telnyx/developer-docs",
            "selectedRepoAccessToken": "<redacted>",
            "selectedBranch": "main",
            "stackbitYmlFound": false,
            "stackbitYmlValid": false,
            "isValidated": true,
            "isAnalyzed": true,
            "themeConfig": {}
        }
    },
    "visual_editor_active": true
}

@dottelnyx This error indicates the initialization failed because we failed to generate a deploy key for the Github repo. Could you verify that you have permission to generate deploy keys and manage webhooks for the repo? If you’re connected to a Github organization, you’ll need to be an “Admin” for the repo. This permission is only needed for the visual editor enablement operation, so after enabling the visual editor successfully, you can be downgraded from an admin. You can view roles for GitHub organizations here: Repository roles for an organization - GitHub Docs