Skip to content
GravityKit
Buy
Sign in
0 items
  • Plugins

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
    • GravityView Pro

      GravityView Pro

      Bestseller

      Get Live Filters, Maps, DataTables, the Advanced Elementor Widget and every other Pro feature to build the app your process needs.

    • GravityView

      GravityView

      Trending

      Display Gravity Forms entries on the frontend of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, PDF, or Google Sheets, then share them with secure links or deliver them to cloud storage on a schedule.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data between sites, including forms, entries, settings, Views, feeds, and file uploads, and import forms from other form plugins.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

    • GravitySearch

      GravitySearch

      Search Gravity Forms entries across every form from one screen.

  • Ideal For

    • Nonprofits
    • Web Agencies
    • Education
    • Developers
    • Small Businesses
    • Startups
    Explore All Use Cases

    Case studies

    • Be There Local
    • Killer Shorts
    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    View All Case Studies
  • Resources

    • Blog
    • Case studies
    • Newsletter
    • GravityKit vs competitors
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy

    Ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Support
  • Pricing
  • Plugins

    • GravityView Pro

      GravityView Pro

      Bestseller

      Get Live Filters, Maps, DataTables, the Advanced Elementor Widget and every other Pro feature to build the app your process needs.

    • GravityView

      GravityView

      Trending

      Display Gravity Forms entries on the frontend of your site and build powerful web applications.

    • GravityImport

      GravityImport

      Trending

      Import entries from CSV files into Gravity Forms to transfer data, create new forms, or update existing entries.

    • GravityEdit

      GravityEdit

      Quickly edit Gravity Forms entries inline to save time, reduce clicks, and streamline your workflow.

    • GravityCharts

      GravityCharts

      Trending

      Turn Gravity Forms entries into interactive charts and graphs.

    • GravityActions

      GravityActions

      Update multiple Gravity Forms entries at once, send bulk emails, and streamline your workflow.

    • GravityCalendar

      GravityCalendar

      Turn Gravity Forms entries into dynamic calendars to showcase events, schedules, appointments, and more.

    • GravityExport

      GravityExport

      Export Gravity Forms entries to Excel, CSV, PDF, or Google Sheets, then share them with secure links or deliver them to cloud storage on a schedule.

    • GravityMath

      GravityMath

      Perform advanced calculations on Gravity Forms entries to display totals, averages, or build custom calculators.

    • GravityRevisions

      GravityRevisions

      Track, compare, and restore changes made to Gravity Forms forms and entries with a full version history.

    • GravityMigrate

      GravityMigrate

      Migrate all Gravity Forms data between sites, including forms, entries, settings, Views, feeds, and file uploads, and import forms from other form plugins.

    • GravityBoard

      GravityBoard

      Manage projects with collaborative project management. Coordinate with your team and streamline your workflows.

    • GravitySearch

      GravitySearch

      Search Gravity Forms entries across every form from one screen.

    View All Products

    GravityKit All Access

    Our complete Kit of essential tools for extending and enhancing Gravity Forms—everything you need to build powerful web apps and workflows.

    Learn more
  • Ideal For

    • Nonprofits
    • Web Agencies
    • Education
    • Developers
    • Small Businesses
    • Startups
    Explore All Use Cases

    Case studies

    • Be There Local
    • Killer Shorts
    • West Fork Schools
    • Princeton University
    • BrightLeaf Giving
    • Jacksonville Port Authority
    • National Severe Storms Lab
    • Leadpal
    View All Case Studies

    How to build...

    • Client Portal
    • AI-Built Directory
    • Conference Website
    • WordPress CRM
    • Admin Dashboard
    • Inventory Management
    • Vendor Portal
    • Document Library
    View All Guides
  • Resources

    • Blog
    • Case studies
    • Newsletter
    • GravityKit vs competitors
    • Live Demos
    • Documentation
    • Developer docs
    • GravityKit Academy

    ultimate guides

    • How to use Gravity Forms
    • Editing Gravity Forms entries
    • Importing Gravity Forms entries
    • Exporting Gravity Forms entries
    • Displaying Gravity Forms entries
    • Gravity Forms conditional logic
    • Gravity Forms calculations
    View More Articles
  • Support
  • Pricing
0 items

Search

Results appear automatically as you type.
Loading results…

results found matching

    Sign in
    Buy

    Docs

    • Docs Home

    Gravity Forms Add-Ons

    • GravityView
    • GravityActions
    • GravityBoard
    • GravityCalendar
    • GravityCharts
    • GravityEdit
    • GravityExport
    • GravityImport
    • GravityMath
    • GravityRevisions
    • GravitySearch
    • GF Widget for Elementor
    • GF Dynamic Lookup
    • GF Entry Tags
    • GF Event Field
    • GravityExport Lite
    • GF Zero Spam
    • GravityMigrate

    GravityView

    • Getting Started
    • View Setup
    • FAQ
    • Pre-Sale
    • Advanced
    • Common Problems
    • Customizing Your Views
    • Edit Entry
    • Entry Approval
    • Filter and Sort Results
    • Gravity Forms
    • Merge Tags
    • Roles and Capabilities
    • Search
    • Shortcodes
    • View Settings
    • WordPress Posts

    General Help

    • Account, Invoices, and Billing
    • License Related
    • Plugins and Settings
    • Agency accounts
    • Contact
    • Docs Home
    • Gravity Forms Add-Ons

      • GravityView
      • GravityActions
      • GravityBoard
      • GravityCalendar
      • GravityCharts
      • GravityEdit
      • GravityExport
      • GravityImport
      • GravityMath
      • GravityRevisions
      • GravitySearch
      • GF Widget for Elementor
      • GF Dynamic Lookup
      • GF Entry Tags
      • GF Event Field
      • GravityExport Lite
      • GF Zero Spam
      • GravityMigrate
    • GravityView

      • Getting Started
      • View Setup
      • FAQ
      • Pre-Sale
      • Advanced
      • Common Problems
      • Customizing Your Views
      • Edit Entry
      • Entry Approval
      • Filter and Sort Results
      • Gravity Forms
      • Merge Tags
      • Roles and Capabilities
      • Search
      • Shortcodes
      • View Settings
      • WordPress Posts
    • General Help

      • Account, Invoices, and Billing
      • License Related
      • Plugins and Settings
      • Agency accounts
    • Contact

    Gravity Forms Zero Spam

    • How Gravity Forms Zero Spam works (and how to test it)
    • Troubleshooting Gravity Forms Zero Spam
    • Using AI Spam Review with Gravity Forms Zero Spam
    • Using Email Rejection Rules with Gravity Forms Zero Spam
    • Using Shield silentCAPTCHA with Gravity Forms Zero Spam
    • Getting started with Gravity Forms Zero Spam
    • Home
    • Docs
    • Gravity Forms Zero Spam
    • Troubleshooting Gravity Forms Zero Spam

    Troubleshooting Gravity Forms Zero Spam

    Estimated reading: 6 minutes

    Updated on November 19, 2026

    When Zero Spam flags a submission, it adds a note to the entry that gives the reason, so the note is where to start. Before you change anything else, update Zero Spam to its latest version, since recent releases fixed several causes of wrongly flagged submissions.

    Find out why an entry was flagged #

    1. In your WordPress dashboard, go to Forms, then Entries, and choose the form.
    2. Click Spam above the entries list.
    3. Click the entry’s name to open it, and read the note in its Notes box.
    The Notes box of an entry with the Zero Spam note outlined, reading This entry has been flagged as spam. Reason: The spam prevention token has expired. This may be caused by page caching.

    The name above the note is the check that flagged the entry.

    A note that flags the entry starts with “This entry has been flagged as spam. Reason:”. In a note from Zero Spam, one of these reasons follows.

    ReasonWhat happened
    The submission did not include a spam prevention token.The form was sent without the Zero Spam script running. Bots send forms this way, and so does a page where something stopped the script. See Fix a missing token.
    The spam prevention token has expired. This may be caused by page caching.The request for a new token failed, and the backup token in the page was older than the Anti-Spam Expiration time. See Fix an expired token.
    The spam prevention token signature is invalid.The token wasn’t signed with your site’s current secret keys, the AUTH_KEY and SECURE_AUTH_KEY values in wp-config.php. Forged tokens fail this way. If you changed those keys, clear your page cache.
    The spam prevention token format is invalid.The token field held something other than a Zero Spam token, as when a bot makes up the field.
    The spam prevention token was issued for a different form.The token belongs to another form on your site, as when a bot copies the field from one form to another.
    Legacy spam prevention key no longer accepted. Please clear your page cache.A cached page sent an old-style key. A site that still stores an old key accepts it for 14 days from the first submission that uses it, and this one was later. Clear your page cache.
    The submitted key is invalid.A cached page sent an old-style key that your site doesn’t have stored. Clear your page cache.

    Fix a missing token #

    When real submissions get this note, something stopped the Zero Spam script before the form was sent. Look for these:

    • An optimization or caching plugin that delays, defers, combines, or minifies JavaScript. Exclude the file gf-zero-spam.js and the inline script that defines gfZeroSpamConfig from those options, clear the cache, and send a test.
    • A consent tool or browser extension that blocks scripts on the page.
    • Custom code that posts the form’s fields with its own request. Zero Spam adds the token only when Gravity Forms submits the form.

    Fix an expired token #

    The script sent the backup token from the page because the request for a new token failed or took longer than its wait time, 3 seconds by default. That backup had passed the Anti-Spam Expiration time, which happens when a page cache serves a copy built days earlier. When the request works, a page of any age passes, because the token comes from that request.

    Start with the request:

    1. Open the form’s page in a private browser window, with the browser’s developer tools open on the Network tab.
    2. Turn on Preserve log in the Network tab, so the list stays when the form’s page reloads.
    3. Submit the form, and find the request to admin-ajax.php whose action is gf_zero_spam_token. It should answer with status 200 and a token.

    Look for these causes of a failing request:

    • A security plugin, firewall, or server rule that blocks admin-ajax.php for visitors who aren’t signed in.
    • A server that takes longer than the wait time, 3 seconds by default, to answer.
    • More than 30 token requests a minute from one address, which your site answers with status 429. Behind a proxy or CDN that hides visitors’ addresses, every visitor can count as the same address.

    A developer can change the wait time with the gf_zero_spam_token_fetch_timeout filter. For the last cause, a developer can pass the visitor’s real address with the gf_zero_spam_client_ip filter or raise the limit with gf_zero_spam_rate_limit.

    Then make backup tokens last longer than your page cache keeps a page:

    1. Go to Forms, then Settings, and click Zero Spam.
    2. Under Spam Blocking, set Anti-Spam Expiration to a time longer than your cache keeps a page, up to 90 days.
    3. Click Save Settings.
    4. Clear your page cache. Pages cached earlier keep backup tokens with the old time.
    The Spam Blocking section of the Zero Spam settings with the Anti-Spam Expiration value and unit outlined, set to 7 days

    Restore an entry flagged by mistake #

    Gravity Forms keeps flagged entries under Spam in the form’s entries list. While an entry is there, Gravity Forms sends none of its notifications and runs none of its add-on feeds.

    1. Go to Forms, then Entries, choose the form, and click Spam above the list.
    2. Hover over the entry and click Not Spam.
    The Spam list of a contact form with the Spam link and one entry's Not Spam action outlined

    Not Spam moves the entry to the form’s active entries and runs the form’s add-on feeds for it at that moment, except payment feeds. Notifications stay unsent. To send one, open the entry, select the notification in the Notifications box, and click Resend.

    An entry's screen with the Admin Notification checkbox and the Resend button outlined in the Notifications box

    The person who sent a flagged submission saw Gravity Forms’ default message, “Thanks for contacting us! We will get in touch with you shortly.”, in place of your confirmation. To choose what flagged submissions see, turn on Custom Spam Confirmation in the form’s Spam Detection settings and set the message in the form’s Confirmations.

    Missing spam report emails #

    Go to Forms, then Settings, click Zero Spam, and check Spam Report Frequency under Spam Report Email. Zero Spam sends a report only when new spam entries have arrived since the last one.

    • Threshold-Based sends the report with the submission that brings the count of new spam entries to the Spam Entry Threshold.
    • Twice Daily, Daily, Weekly, and Monthly reports run on WP-Cron. As the settings page notes, they may not go out on schedule on a site with little traffic. If your host turns WP-Cron off and no server cron job runs in its place, they never go out.

    To check email delivery, click Send Email & Save Settings. It saves the settings and sends a test report the way WordPress sends its other email. If the test doesn’t arrive, look at the site’s email setup.

    The Spam Report Email section of the Zero Spam settings with the Send Email and Save Settings button outlined

    Spam still gets through #

    Bots that load your page in a real browser run the Zero Spam script and get a valid token. These optional checks catch what the token check misses:

    • AI Spam Review reads submissions that passed and flags the ones that look like spam.
    • Shield silentCAPTCHA adds the bot detection of the Shield Security plugin.
    • Email Rejection Rules block or flag the email addresses and domains you choose.
    Still stuck?

    How can we help?

    "*" indicates required fields

    This field is for validation purposes and should be left unchanged.
    Replies will go to this email.
    How can we help?*
    My pre-sale question is related to...*
    My WordPress skills are....*
    My Gravity Forms skills are...*
    You will be shown articles from our documentation.
    Vous pouvez nous écrire dans votre langue maternelle si c’est plus facile pour vous—nous nous occuperons de la traduction!
    Puedes escribirnos en tu idioma nativo si te resulta más fácil; ¡nosotros nos encargamos de la traducción!
    Sie können uns in Ihrer Muttersprache schreiben, wenn das für Sie einfacher ist – wir kümmern uns um die Übersetzung!
    U kunt ons in uw moedertaal schrijven als dat gemakkelijker voor u is — wij zorgen voor de vertaling!
    Du kan skrive til oss på ditt morsmål hvis det er enklere for deg — vi tar oss av oversettelsen!
    Du kan skriva till oss på ditt modersmål om det är lättare för dig — vi tar hand om översättningen!
    Você pode nos escrever em seu idioma nativo se for mais fácil para você — nós cuidaremos da tradução!
    Puoi scriverci nella tua lingua madre se ti è più facile — penseremo noi alla traduzione!
    Please provide as much detail as you're able; this helps us provide you with faster support.
    Drop files here or
    Accepted file types: jpg, jpeg, gif, png, tiff, pdf, bmp, zip, json, csv, xls, xlsx, Max. file size: 256 MB.
      Get better at Gravity Forms every Friday

      Was this page helpful?

      Table Of Contents
      • Find out why an entry was flagged
      • Fix a missing token
      • Fix an expired token
      • Restore an entry flagged by mistake
      • Missing spam report emails
      • Spam still gets through
      GravityKit
      • How to Build It
      • GravityKit vs competitors
      • Pricing
      • Products
      • Our Team
      • Our Values
      • Work With Us
      • Partner Directory
      • Coupons
      Support
      • Support
      • Contact
      • Documentation
      • Scope of Support
      • Brand Guidelines
      • Brand Kit
      • Privacy Policy
      • Terms of Service (“Terms”)
      I am a...
      • Nonprofit
      • Web agency
      • Small business owner
      • Web developer
      • Educational institution
      • WordPress freelancer
      • Startup founder
      • One-person agency
      Get notified of updates.

      We’re constantly improving GravityKit. Fill out your email below and we’ll notify you anytime major updates drop.

      See past editions
      • Facebook
      • Twitter
      • Mastodon
      GravityKit is a Gravity Forms Certified Developer.

      Copyright © 2026, Katz Web Services, Inc.

      GravityKit and GravityView are registered trademarks of Katz Web Services, Inc.