"integrity-token" not found error

Hi,

I’m running a self-hosted instance of Ghost (v5.66.1) with the email newsletter feature enabled. The signup form on our Ghost-based blog works fine.

However, the form I embedded on the landing page—built using Astro and hosted on GitHub Pages—has recently stopped working. Here’s the console error message users are seeing when they try to sign up for our newsletter through that form:

https://blog.octant.build/members/api/integrity-token/ → 404 Not Found
Response:
{ "errors": [ { "message": "Resource not found", "context": null, "type": "NotFoundError", "details": null, "property": null, "help": null, "code": null, "id": "11474ad0-8d36-11ef-9646-1f68c0d2db4e", "ghostErrorCode": null } ] }

I couldn’t find any information on how to resolve this issue in Ghost’s documentation. Can anyone help?

It sounds like the form you have embedded is expecting a later version of ghost that has some added bot protection.

Can you try upgrading your Ghost instance to the latest version?

Which code did you use to embed the form?

2 Likes

Thank you very much. I’ll update Ghost and report back.
I’m using the embeddable signup form code copied from the Ghost dashboard.

The upgrade solved my issue.
Thank you!