Title: Error occurred while API key validating. Error: Testing is failed. Please check
Last modified: July 31, 2020

---

# Error occurred while API key validating. Error: Testing is failed. Please check

 *  Resolved [wporgyvonne](https://wordpress.org/support/users/wporgyvonne/)
 * (@wporgyvonne)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/)
 * Hi I am unable to install the cleantalk even though I have paid for it. I tried
   keying in the access key but I still get error.
 * Below is the debug code.
    Debug: Constants: CLEANTALK_AJAX_USE_BUFFER NOT_DEFINED
   CLEANTALK_AJAX_USE_FOOTER_HEADER NOT_DEFINED CLEANTALK_ACCESS_KEY NOT_DEFINED
   CLEANTALK_CHECK_COMMENTS_NUMBER NOT_DEFINED CLEANTALK_CHECK_MESSAGES_NUMBER NOT_DEFINED
   CLEANTALK_PLUGIN_DIR D:\Inetpub\vhosts\serviced-apartments.com.au\httpdocs\wp-
   content\plugins\cleantalk-spam-protect/ WP_ALLOW_MULTISITE true Debug log: Drop
   debug data ArrayObject Object ( [storage:ArrayObject:private] => Array ( [07:
   35:49_ACTION__FUNCTION_] => Array ( [0] => Failed. Query: DELETE FROM `YCIg5_cleantalk_sfw_logs`
   WHERE 1=1 Error: Table ‘wp_a8ap0.ycig5_cleantalk_sfw_logs’ doesn’t exist [1] 
   => Failed. Query: ALTER TABLE `YCIg5_cleantalk_sfw_logs` CHANGE `status` `status`
   ENUM(‘PASS_SFW’,’DENY_SFW’,’PASS_SFW__BY_WHITELIST’,’PASS_SFW__BY_COOKIE’,’DENY_ANTICRAWLER’,’
   PASS_ANTICRAWLER’,’DENY_ANTIFLOOD’,’PASS_ANTIFLOOD’) NOT NULL AFTER `ip`; Error:
   Table ‘wp_a8ap0.ycig5_cleantalk_sfw_logs’ doesn’t exist )
 *  )
 * )
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-occurred-while-api-key-validating-error-testing-is-failed-please-check%2Fpage%2F2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 13 replies - 16 through 28 (of 28 total)

[←](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/?output_format=md)
[1](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/?output_format=md)
2

 *  Plugin Support [katereji](https://wordpress.org/support/users/katereji/)
 * (@katereji)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13757826)
 * Hi.
    Thank you for your patience. We’ll contact you as soon as we have any news.
 *  Plugin Support [amagsumov](https://wordpress.org/support/users/amagsumov/)
 * (@amagsumov)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13760865)
 * Hello, [@wporgyvonne](https://wordpress.org/support/users/wporgyvonne/) [@silverliebt](https://wordpress.org/support/users/silverliebt/)
 * We’ve fixed the issue.
 * Please install the latest version of the plugin.
 * Download link to the plugin:
    [https://downloads.wordpress.org/plugin/cleantalk-spam-protect.5.150.1.zip](https://downloads.wordpress.org/plugin/cleantalk-spam-protect.5.150.1.zip)
 * Did it help?
 *  [kkunden](https://wordpress.org/support/users/kkunden/)
 * (@kkunden)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13979587)
 * I just had the same problem with two errors:
    first I got a Error occurred while
   updating SpamFireWall local base. Error: MULTIFILE_COULD_NOT_GET_RESPONSE_CODE:
   Resolving timed out after 3000 milliseconds
 * Then i tried to resync and I got another error along with it.
    2021-01-30 09:
   49:20: Error occurred while API key validating. Error: Testing is failed. Please
   check the Access key.
 * Then I followed the instructions given above:
    Please, try to reactivate the 
   Anti-Spam plugin with “Complete deactivation” option enabled.
 * 1. Enter to the Antispam by Cleantalk plugin settings. (Wordrpess Dashboard -
   > Settings -> Antispam by Cleantalk -> Advanced settings)
 * 2. Check the last settings “Complete deactivation” and save changes.
 * 3. Deactivate the plugin in the “Plugins” page in WordPress Dashboard.
 * 4. Then activate it.
 * 5. Save the access key
 * NOw I get another two errrors:
    2021-01-30 09:47:02: Cron: Error occurred while
   updating SpamFireWall local base. Error: SFW_DISABLED 2021-01-30 09:48:43: Error
   occurred while automatically gettings access key. Error: CONNECTION_ERROR : “
   cURL error 28: Operation timed out after 10001 milliseconds with 0 out of 0 bytes
   received” 2021-01-30 09:49:20: Error occurred while checking account status. 
   Error: CONNECTION_ERROR : “cURL error 28: Operation timed out after 10001 milliseconds
   with 0 out of 0 bytes received” 2021-01-30 09:49:20: Error occurred while API
   key validating. Error: Testing is failed. Please check the Access key.
 * So every correction seems to add an error.
 * what can i do?
 *  [kkunden](https://wordpress.org/support/users/kkunden/)
 * (@kkunden)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13979606)
 * I can see that now it tells me i have the wrong access key. I logged into my 
   clean talk dashboard but cant see where to get a new one.
    I chose the option
   get access key manually and apparently it will be emailed to me. But I havent
   received an email. Not sure what is going on with this plug in.
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13979766)
 * Hello, [@kkunden](https://wordpress.org/support/users/kkunden/).
 * Your access keys are listed in your Anti-Spam Dashboard:
    [https://cleantalk.org/my?cp_mode=antispam](https://cleantalk.org/my?cp_mode=antispam)
 * We will fix it as soon as possible and contact you when we get any results.
 * It may take up to 1 business days. Please, wait.
 *  [kkunden](https://wordpress.org/support/users/kkunden/)
 * (@kkunden)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13979833)
 * Hi Serge
    The access key in my dashboard is the same access key that cleantalk
   is telling me is wrong. That is why i assumed i had to get another. Thanks for
   taking a look
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13979954)
 * You don’t have to do anything. Your current keys are working.
    The errors you
   see should be resolved automatically within 24 hours. Thank you.
 *  [mxmcreation](https://wordpress.org/support/users/mxmcreation/)
 * (@mxmcreation)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13980017)
 * Hi,
 * Similar errors I see too. Recent updates messed it up.
 * Cheers
 *  Plugin Support [katereji](https://wordpress.org/support/users/katereji/)
 * (@katereji)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13980071)
 * Hello, [@mxmcreation](https://wordpress.org/support/users/mxmcreation/)
    We’re
   sorry you see the error that confuses you. It will disappear on its own within
   24 hours as described above. This does not affect the work of the plugin. Be 
   well.
 *  [kkunden](https://wordpress.org/support/users/kkunden/)
 * (@kkunden)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13980536)
 * Hi Serge
    The access key in my dashboard is the same access key that cleantalk
   is telling me is wrong. That is why i assumed i had to get another.
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13981230)
 * The servers are being fixed up.
    We need up to 1-2 days to finish the procedure.
   Thank you.
 *  [mxmcreation](https://wordpress.org/support/users/mxmcreation/)
 * (@mxmcreation)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13983270)
 * Hello,
 * Past 24 hours I’ve updated to latest version 5.152.3 and tested Spam Firewall
   with /?sfw_test_ip=10.10.10.10 appended to URL – it’s not working on our website,
   as well as tested on some other websites which use CleanTalk (5.152.3) and still
   not working. Also tested random non-existent email address in registration field
   and it didn’t react to it. I’ll do more testing on our site, because there is
   some flux in settings at the moment.
 * Are you sure it is functioning properly?
 *  Plugin Author [alexandergull](https://wordpress.org/support/users/alexandergull/)
 * (@alexandergull)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13984036)
 * [@mxmcreation](https://wordpress.org/support/users/mxmcreation/)
 * It needs up to 15 minutes after access key inserting to make SamFireWall work.
 * If the access key is correct and entered but the protection still does not work,
   contact us via [https://cleantalk.org/my/support/open](https://cleantalk.org/my/support/open)
 * WBR,

Viewing 13 replies - 16 through 28 (of 28 total)

[←](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/?output_format=md)
[1](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/?output_format=md)
2

The topic ‘Error occurred while API key validating. Error: Testing is failed. Please
check’ is closed to new replies.

 * ![](https://ps.w.org/cleantalk-spam-protect/assets/icon-256x256.gif?rev=3539767)
 * [Anti-Spam by CleanTalk. Spam protection](https://wordpress.org/plugins/cleantalk-spam-protect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cleantalk-spam-protect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cleantalk-spam-protect/)
 * [Active Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cleantalk-spam-protect/reviews/)

 * 28 replies
 * 8 participants
 * Last reply from: [alexandergull](https://wordpress.org/support/users/alexandergull/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/error-occurred-while-api-key-validating-error-testing-is-failed-please-check/page/2/#post-13984036)
 * Status: resolved