anonymous users get " 'csrf_token' URL query argument is invalid" when they vote!

Created on 26 May 2021, almost 4 years ago
Updated 20 January 2025, 3 months ago

Hi
I'm facing 403 access denied when i allow anonymous users to vote! the widget display correctly but when guests click on a vote up or down button; nothing happened and drupal saves this error in it's 403 log list:

Path: /vote/comment/6/1?token=QMWY7TLHYaOtwdinR7sTOefpBJWmrIwjrmdwb4nXyVs. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: 'csrf_token' URL query argument is invalid. in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 117 of /home/****/public_html/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).

How can solve this?

🐛 Bug report
Status

Closed: cannot reproduce

Component

Code

Created by

🇮🇷Iran prografr Tehran

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024