Troubleshooting
Fix common problems with custom components, publishing, personal access tokens, and the MCP server, step by step.
On this page
- Fix a custom component that does not render
- Read the reason
- Check the class
- Use plain links
- Upload a new version
- Fix a component that breaks publishing
- Find the code
- Move it out of render
- Check the constructor
- Upload and publish again
- Fix an empty Content tab for a custom component
- Check the constructor
- Include props in MCP uploads
- Upload a new version
- Add the new version
- Fix MCP connection errors
- Check the two values
- Copy the address again
- Check Node.js
- Turn on detailed logs
- Restart your client
- Fix a token that stops working
- Check the status
- Create a new token
- Update your client
- Restart your client
- Get help
- Next steps
Find the problem that matches what you see, then follow the steps. If nothing here helps, contact support.
#Fix a custom component that does not render
A component that fails to load shows a load failed tag in the block library. A component that loads but crashes shows no content or an error on the page.
Read the reason
In the left sidebar, open the Blocks tab and click Custom. Hover over the component marked load failed to read the reason.
Check the class
Make sure the class extends
Componentfrom the Blinkpage package, not from React. Make sure the constructor callssuper(props, styles)and the class is the default export.Use plain links
Replace any link component from the editor with a plain
aelement, for example<a href="https://example.com">. A component that imports the editor's link component crashes.Upload a new version
Fix the code, then upload the component again with a higher version. See Custom components.
#Fix a component that breaks publishing
Publishing renders your component on a server, where window and document do not exist. Code that reads them while the component renders makes the publish fail.
Find the code
Search your component for
window,document,localStorage, andnavigator.Move it out of render
Move that code into the
onComponentDidMountmethod of your component. Code in that method runs only in the visitor's browser.Check the constructor
Make sure the constructor does not read
windowordocumenteither.Upload and publish again
Upload the fixed component with a higher version, add it to the page, and publish again.
#Fix an empty Content tab for a custom component
The Content tab shows one field for each prop the component declares. A component with no declared props has an empty Content tab.
Check the constructor
Make sure the constructor calls
this.addPropfor each value that people should edit. See Component props reference.Include props in MCP uploads
If you upload with the MCP server, ask your assistant to send the prop definitions as
props_schemawith the upload.Upload a new version
Upload the component again with a higher version.
Add the new version
Add the new version from the Custom category of the block library, and remove the old block from the page.
#Fix MCP connection errors
If the server cannot start, your client shows the server as failed or lists no Blinkpage tools. The server writes its messages to the client's MCP log.
Check the two values
Open your client config. Make sure the
envblock holds bothBLINKPAGE_TOKENandBLINKPAGE_API_URL. If either is missing, the server logs one error and exits.Copy the address again
Copy the
BLINKPAGE_API_URLvalue from Blinkpage MCP. Remove any trailing slash or version ending that you added.Check Node.js
Run
node --version. The server needs Node.js 18 or later.Turn on detailed logs
Add
BLINKPAGE_LOG_LEVELwith the valuedebugto theenvblock, then read the MCP log in your client.Restart your client
Quit your client completely and open it again. The server reads its settings only when it starts.
#Fix a token that stops working
Blinkpage rejects a token that has expired or been revoked.
Check the status
Click the profile icon, click Account, and expand Advanced. Find your token and read its status: Active, Revoked, or Expired.
Create a new token
If the status is Revoked or Expired, click Create New Token and copy the new value.
Update your client
Replace the
BLINKPAGE_TOKENvalue in your client config with the new token.Restart your client
Quit your client completely and open it again.
#Get help
If the steps above do not fix the problem, contact the Blinkpage support team (opens in a new tab). Include the page name, the component name and version, and what you expected to happen. Never include a token.