Unable to grant an API Key, request does not contain an authorization header

Hey @Nil_Battey_Sannata, how are your credentials defined for anonymous access? If you're using an API Key, then this is an expected limitation. You can tell if you're using an API Key if your auth provider is configured in either of the following ways:

xpack.security.authc.providers:
  anonymous.anonymous1:
    order: 0
    credentials:
      apiKey: your_key_here
xpack.security.authc.providers:
  anonymous.anonymous1:
    order: 0
    credentials:
      apiKey.id: your_key_id
      apiKey.key: your_key_secret

If you're using either of those configurations, can you try switching to the username/password format instead, and let us know if that works?

xpack.security.authc.providers:
  anonymous.anonymous1:
    order: 0
    credentials:
      username: your_anonymous_username
      password: your_anonymous_password
1 Like