Fix a WordPress connection that won't pair or has stopped publishing: pairing codes, Application Passwords, HTTPS, firewalls, and reconnecting.
HarperFlow connects to WordPress through the HarperFlow plugin and a one-time pairing code. When you pair, the plugin creates a WordPress Application Password named "HarperFlow", and HarperFlow publishes through your site's REST API with it. Most problems trace back to the pairing code, that Application Password, HTTPS, or a firewall in front of the REST API. See Connect your WordPress site for what your site needs.
There's no SSO key to paste anymore. Older instructions sent you to an SSO key field in the plugin; the plugin no longer has one, because pairing sets it up for you.
If pairing fails in WordPress
When you click Connect to HarperFlow in wp-admin → HarperFlow, the plugin shows the result at the top of the page. The messages below are from plugin version 1.5.1. Older versions show "HarperFlow could not connect this site" for most of these problems, so update the plugin first, under Plugins → Installed Plugins.
HarperFlow uses up a pairing code before it checks your site. So when a message asks for a new code, click Generate a new code in HarperFlow and paste it straight away.
- The pairing code isn't valid, has expired, or was already used. A code works once and expires 15 minutes after you generate it. Spaces, dashes and lowercase letters in the code don't matter.
- Application Passwords are turned off. WordPress offers them only when it sees the request as HTTPS, and security plugins can turn them off. Check that both addresses in Settings → General start with
https://, that HTTPS reaches your server itself rather than stopping at a CDN or proxy, and that your security plugin allows Application Passwords. In Wordfence, clear Disable WordPress application passwords under Wordfence → Login Security → Settings. Connecting with Advanced — connect manually doesn't get around this, because it needs an Application Password too. If the message says your version of WordPress has none, update WordPress to 5.6 or later.
- The site is already connected to a different HarperFlow workspace. Ask that workspace's owner to remove it there, or contact us.
- WordPress wouldn't let the account publish posts and manage categories. Pair while signed in as an Administrator. A firewall or security plugin that blocks HarperFlow's REST API requests can also cause this message.
- HarperFlow couldn't sign in with its new Application Password. Usually your host, a firewall or a security plugin removes the
Authorization header from HarperFlow's requests, or blocks Application Passwords. Ask your host to pass the Authorization header through to WordPress. Tools → Site Health warns when that header goes missing.
- HarperFlow connects over HTTPS only. The Site Address (URL) in Settings → General must start with
https://.
- HarperFlow can't connect to this site address. It must be a public domain on the standard HTTPS port, not
localhost, a private network address or a custom port.
- HarperFlow couldn't connect the site. Check that
https://your-site.com/wp-json/ loads, which needs pretty permalinks and no plugin that turns the REST API off. Also check that no firewall, security plugin or CDN blocks or challenges HarperFlow's requests.
- Too many connection attempts. Wait a minute, then try again.
- HarperFlow hit a problem while connecting the site. Wait a minute, then try again with a new code. If it keeps happening, contact us.
- WordPress couldn't reach HarperFlow to finish connecting. First click Check connection in HarperFlow: on a slow site, the connection can go through after WordPress stops waiting. If it didn't, make sure your server can make outbound HTTPS requests to
api.harperflow.io, then try again with a new code.
- No pairing form, or "You do not have permission to do this." Only a WordPress Administrator can pair the plugin.
If connecting fails in HarperFlow
When you connect with Advanced — connect manually, HarperFlow shows the reason itself:
- WordPress rejected the username and Application Password. Use the login name, not the display name, and paste the whole Application Password, including its spaces. Your normal WordPress password doesn't work here.
- The account lacks Editor or Administrator rights. HarperFlow needs an account that can publish posts and manage categories.
- The URL isn't allowed, or doesn't use HTTPS. Enter your site's public
https:// address.
- HarperFlow couldn't reach the REST API. Run through the REST API and firewall checks above.
- The site is already connected to another HarperFlow workspace. Ask that workspace's owner to remove it there, or contact us.
If publishing stops
A broken connection shows a red banner across your dashboard: "We can't reach your WordPress site — reconnect to resume publishing." Publishing pauses until it's fixed, and nothing is lost while it's down. Common causes:
- The HarperFlow Application Password was revoked under Users → Profile → Application Passwords, or someone clicked Disconnect in wp-admin → HarperFlow.
- The connecting account was deleted, or its role was lowered below Editor.
- A security plugin, firewall or host started blocking the REST API or the
Authorization header, or turned Application Passwords off.
- The site lost HTTPS, for example because a certificate expired or a CDN's HTTPS setting changed.
- The site moved to a new address. HarperFlow doesn't follow redirects, so contact us to move the connection.
Fix the cause, then reconnect. HarperFlow never pauses or cancels your plan because a connection broke: that stays your call.
Reconnect
- In HarperFlow, open Your Site and click Reconnect in setup. You need to be an owner or admin.
- Click Generate pairing code.
- In wp-admin → HarperFlow, open Reconnect with a new pairing code, paste the code and click Reconnect. If the page shows the Connect to HarperFlow form instead, for example after a Disconnect, paste the code there.
- Back in HarperFlow, click Check connection.
Reconnecting keeps your category, settings and articles. New posts are published as the account you reconnect with, so use the same account to keep the same author.
Generate the code just before you paste it, and update the plugin first. From version 1.5.1, the plugin keeps the password HarperFlow publishes with until HarperFlow accepts the new one, so a failed reconnect doesn't stop publishing. Older versions remove that password first: if a reconnect fails on one, reconnect again straight away with a new code.
If you connected without the plugin, reconnect from the same setup step with Advanced — connect manually and a freshly generated Application Password for the same account.
One-click sign-in doesn't work
- The button is missing. Open HarperFlow Dashboard (SSO) shows only to WordPress Administrators, and only on a site paired with the plugin. A site connected without pairing has no one-click sign-in: sign in to HarperFlow as usual.
- "Could not start SSO." One-click sign-in needs plugin version 1.5.1 or later, so update the plugin first, under Plugins → Installed Plugins. If it still fails, reconnect with a new pairing code.
Stop HarperFlow from publishing to your site
If you only want a pause, turn autopilot off and choose Unschedule them, or take a break. To stop for good, do both:
- In HarperFlow, click Delete this site on the Your Site page (owners and admins only). It archives the site's articles, stops autopilot and, on the last site of a Solo account, schedules your plan to cancel at the end of the billing period. See Managing multiple sites.
- In WordPress, revoke the HarperFlow Application Password of the account that connected the site, under Application Passwords on that user's profile.
Disconnect in wp-admin → HarperFlow revokes only the HarperFlow Application Password of the Administrator who clicks it, so if someone else connected the site, revoke theirs from their profile. Deactivating or deleting the plugin doesn't revoke it.
Still stuck?
Contact support with your site address, the exact message you see, and the step that failed. Never send a password, an Application Password, an SSO key or a pairing code.
More in Troubleshooting
Browse all Troubleshooting guides