Setting Authorization Headers #6405
-
I'm getting the following error message when attempting to configure an authorization header via an environment variable. The env var I'm using is 'OTEL_EXPORTER_OTLP_HEADERS'. I'm assuming the error message is because Some clarification on this would be greatly appreciated.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Here's a test showing what the exporter is configured with for the different
The error message seems to indicate you're using a value which includes double quotes. This isn't necessary.
|
Beta Was this translation helpful? Give feedback.
I really appreciate your help. Two things helped here:
Just an aside, the service I am authing against doesn't like the
%20
encoding. I changed the encoding to use the+
sign and everything worked as expected.Thank you @jack-berg