REST requests fail in Postman with valid X-CSRF-Token header

Created on 17 January 2018, over 7 years ago
Updated 6 June 2025, about 1 month ago

Same issue encountered in https://www.drupal.org/project/drupal/issues/2795965 but in the latest recommended version.
Getting this message though provided correct X-CSRF-token.

{
    "message": "X-CSRF-Token request header is invalid"
}
💬 Support request
Status

Fixed

Version

9.2

Component

rest.module

Created by

🇵🇭Philippines johnreytanquinco

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