Using x-auth-token in headers query request crashes

  • What Grafana version and what operating system are you using?

Version Grafana v11.5.2 (598e0338d5)
$ npm -v
10.8.2
$ node -v
v18.20.7

  • What are you trying to achieve?

Request data from an API using the http-datasource example.

  • How are you trying to achieve it?

Preformed initial login and received JWT for token to be supplied during further requests.

Using the following request

This causes the request to crash with the following output

When I comment out the ‘x-auth-token’ from the headers request is correct but the headers are obviously wrong and fails because no authentication is provided.