Title: PHP Warning: Undefined array key &#8220;HTTP_AUTHORIZATION&#8221;
Last modified: December 22, 2022

---

# PHP Warning: Undefined array key “HTTP_AUTHORIZATION”

 *  [devjunior1991](https://wordpress.org/support/users/devjunior1991/)
 * (@devjunior1991)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_authorization/)
 * Hello,
   I have an error that I can’t solve…
 * 2022/12/22 10:09:25 [error] 103892#103892: *60464 FastCGI sent in stderr: “PHP
   message: PHP Warning: Undefined array key “HTTP_AUTHORIZATION” in /www/xxx/public/
   wp-content/plugins /jwt-authentication-for-wp-rest-api/public/class-jwt-auth-
   public.php on line 222PHP message: PHP Warning: Undefined array key “REDIRECT_HTTP_AUTHORIZATION”
   in /www/xxx/public/wp-content/ plugins/jwt-authentication-for-wp-rest-api/public/
   class-jwt-auth-public.php on line 225″ while reading response header from upstream,
   client: IP, server: xxx.fr, request: “GET //wp-json/wc/store/products HTTP/1.1”,
   upstream: “fastcgi://unix:/var/run/php8.1-fpm-xxx.sock:”, host: “xxx.fr:40998“,
   referrer: “[https://xxx.fr/&#8221](https://xxx.fr/&#8221);
   Can you help me please?

The topic ‘PHP Warning: Undefined array key “HTTP_AUTHORIZATION”’ is closed to new
replies.

 * ![](https://ps.w.org/jwt-authentication-for-wp-rest-api/assets/icon-256x256.jpg?
   rev=3372068)
 * [JWT Authentication for WP REST API](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/reviews/)

## Tags

 * [auth](https://wordpress.org/support/topic-tag/auth/)
 * [jwt](https://wordpress.org/support/topic-tag/jwt/)

 * 0 replies
 * 3 participants
 * Last reply from: [devjunior1991](https://wordpress.org/support/users/devjunior1991/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-http_authorization/)
 * Status: not resolved