Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

["FORBIDDEN","DENIED_GREY_LIST"] errors #41

Open
hawaii-do opened this issue Nov 6, 2024 · 1 comment
Open

["FORBIDDEN","DENIED_GREY_LIST"] errors #41

hawaii-do opened this issue Nov 6, 2024 · 1 comment

Comments

@hawaii-do
Copy link

I try to check spam from a signup form trough API. I'm using the Cleantalk\CleantalkAntispam library.

I'm calling the API with this method:

$_SESSION = array();
$_SESSION['ct_submit_time'] = time();
$cleantalk_antispam = new CleantalkAntispam('xxxxxxxxx',
$request->input('email'),
$request->input('first_name'),
"signup",
'signup'
);

And I receive this error

Cleantalk result: {"sender_ip":"188.63.198.137","sender_email":"","received":-1,"stop_words":null,"comment":"*** Forbidden. Please submit form again. Anti-Spam by CleanTalk. ***","blacklisted":0,"allow":0,"id":"82bdb4cb3e1336a12171b52f89483472","errno":0,"errstr":"","fast_submit":-1,"spam":0,"js_disabled":-1,"sms_allow":null,"sms":null,"sms_error_code":null,"sms_error_text":null,"stop_queue":0,"inactive":0,"account_status":1,"codes":["FORBIDDEN","DENIED_GREY_LIST"]}

So why it is forbidden ? What should I do ?

@AntonV1211
Copy link

AntonV1211 commented Nov 8, 2024

Hi @hawaii-do!
Judging by the result, sender_email is missing.
Check that an email is sent during registration.
The submit_time value is also not passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants