Fixed StopForumSpam API key no longer recognized

Dan Blather

/admin.php?options/groups/usersAndRegistration/ - XenForo no longer recognizes the API key I've been using (for years) for Stop Forum Spam as valid.

The form field has a red outline. "Please match the requested format: Please enter a valid API key." error.

The API is the exact same one from, letter for letter; case sensitive, copy and paste from SFS to XenForo, no extra or missing characters or spaces.

From the forum admin page:

From SFS:

Black Tiger

Active member
Did you recently update or did it work before with XF 2.2 in your situation?
Because I have a XF2.2 build couple of days ago and the key is working as far as I could see.

Mine is 14 chars and starts with a number, having no issues with it.


XenForo developer
Staff member
I think there's a validation bug here. Looks like we might only be allowing lower case and I can see yours starts with an "A". (Interestingly, our key is all lower case so maybe there has been a change here; the extra validation is relatively new though.)

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.3).

Change log:
Expand the allowed format for StopForumSpam API keys.
There may be a delay before changes are rolled out to the XenForo Community.