Couldn't add Authorization header to REST API HTTP Request node

I am trying to add Authorization header to REST HTTP Get Request Node. But when previewing the application I am getting this error :

[error] [function2:HTTP request] TypeError: Failed to execute ‘append’ on ‘Headers’: Invalid name

When I remove it, I don’t get this error but the authentication doesn’t work.