Hi <@U04S8PLJWMT> in our temporal pod i am seeing ...
# ask-ai
i
Hi @kapa.ai in our temporal pod i am seeing this error Unable to load configuration: config file corrupted: yaml: line 17: found unknown escape character. My password does have a backslash
k
The error message you are seeing,
yaml: line 17: found unknown escape character
, is likely due to the presence of a backslash (
\
) in your password, which is not being properly escaped in your YAML configuration file. In YAML, the backslash is an escape character, so if it appears in a value (such as a password), it must be handled carefully. The knowledge sources do not provide explicit instructions for escaping special characters in YAML secrets for Airbyte or Temporal. However, this is a common YAML issue: if your password contains a backslash, you should either: - Wrap the password in single quotes (
'
) in your YAML file, which tells YAML to treat the contents literally, or - Escape the backslash by doubling it (
\\
). For example, if your password is
pa\ssword
, in your YAML file you should write:
Copy code
yaml instance-admin-password: 'pa\ssword'
or
Copy code
yaml instance-admin-password: pa\\ssword
If you are storing the password in a Kubernetes Secret, ensure the value is base64-encoded, and the original string is properly escaped before encoding. The knowledge sources do not mention any Airbyte-specific workaround for this issue, so you should follow standard YAML practices for escaping special characters. If you continue to have issues, consider using Kubernetes secrets with base64 encoding, as described in the Airbyte documentation for authentication and secret management [Authentication](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication). If you need to set the password via a Kubernetes secret, you can create a
secret.yaml
as shown in the documentation, ensuring your password is correctly handled:
Copy code
yaml apiVersion: v1 kind: Secret metadata:   name: airbyte-auth-secrets type: Opaque stringData:   instance-admin-password: 'pa\ssword'
or
Copy code
yaml stringData:   instance-admin-password: pa\\ssword
Then apply it as described in the docs. If you still encounter issues, please double-check your YAML syntax and ensure there are no unescaped special characters in your configuration files.
i
@kapa.ai i am still getting the error
k
A message from kapa.ai
I'm sorry you're still encountering the error. Based on the knowledge sources, Airbyte recommends creating Kubernetes secrets using either a YAML file or the
kubectl create secret
command. The documentation does not provide specific guidance on handling passwords with special characters like backslashes, but it does show examples using the
stringData
field in the secret YAML, which should handle most special characters correctly if you wrap the value in single quotes:
Copy code
yaml apiVersion: v1   kind: Secret   metadata:     name: airbyte-config-secrets   type: Opaque   stringData:     instance-admin-password: 'pa\ssword'
Alternatively, you can use the
kubectl create secret generic
command, which should also handle special characters:
Copy code
sh kubectl create secret generic airbyte-config-secrets \   --from-literal=instance-admin-password='pa\ssword' \   --namespace airbyte
If you are still getting the YAML parse error, it may be due to how the value is being interpreted by the YAML parser or by the shell. Make sure: - You are using single quotes around the password in YAML to avoid escape character issues. - There are no extra spaces or invisible characters in your YAML file. - If using the CLI, your shell is not interpreting the backslash before it reaches Kubernetes. If the problem persists, the knowledge sources do not provide further troubleshooting steps for this specific issue. You may want to try changing the password to remove special characters as a test, or consult Kubernetes/YAML documentation for more advanced escaping techniques. For reference, see the Airbyte documentation on creating Kubernetes secrets: [Preconfiguring Kubernetes Secrets](https://docs.airbyte.com/platform/deploying-airbyte/creating-secrets). If you need more detailed troubleshooting, please provide the exact YAML snippet or command you are using, and the full error message.
i
@kapa.ai based on these logs 2025/07/17 124651 Loading config; env=docker,zone=,configDir=config 2025/07/17 124651 Loading config files=[config/docker.yaml] Unable to load configuration: config file corrupted: yaml: line 17: found unknown escape character. Which file is it referring to ?
k
A message from kapa.ai
Based on the logs you provided:
Copy code
2025/07/17 12:46:51 Loading config; env=docker,zone=,configDir=config 2025/07/17 12:46:51 Loading config files=[config/docker.yaml] Unable to load configuration: config file corrupted: yaml: line 17: found unknown escape character.
The file being referred to is
config/docker.yaml
. The log line:
Copy code
Loading config files=[config/docker.yaml]
indicates that this is the configuration file being loaded when the error occurs. The error message specifically points to a YAML parsing issue on line 17 of this file. The knowledge sources do not provide additional details about this specific log message or file, but based on the log output, it is clear that
config/docker.yaml
is the file in question. If you need to resolve the error, you should inspect line 17 of
config/docker.yaml
for any unescaped special characters, such as a backslash, that may be causing the YAML parser to fail.
i
@kapa.ai i dont have this file. i am using helm. i only have one single values.yaml file
k
A message from kapa.ai
Based on the knowledge sources, when deploying Airbyte with Helm, you are expected to provide configuration overrides in a
values.yaml
file, not a
config/docker.yaml
file. The Airbyte Helm chart does not mention or require a
config/docker.yaml
file in its standard deployment process. All configuration should be handled through your
values.yaml
and Kubernetes secrets as described in the documentation [Create a values.yaml override file](https://docs.airbyte.com/platform/deploying-airbyte#3-create-a-valuesyaml-override-file). If your logs reference
config/docker.yaml
but you do not have this file and are only using Helm with a
values.yaml
, this suggests that either: - A container or component within the Airbyte deployment is expecting a
config/docker.yaml
file due to a misconfiguration, or - There is a custom or legacy configuration in your environment that is not standard for Helm-based Airbyte deployments. The knowledge sources do not provide information about Airbyte Helm deployments requiring or generating a
config/docker.yaml
file. If you are following the official Helm deployment instructions and only using
values.yaml
, you should not need to provide this file [Installing Airbyte](https://docs.airbyte.com/platform/deploying-airbyte#5-installing-airbyte). If you are seeing this error, it may be due to a misconfiguration in your
values.yaml
or an issue with a custom image or chart version. Double-check that you are using the correct and up-to-date
values.yaml
format as recommended in the documentation, and avoid copying full example files from older versions, as this can cause compatibility issues [Customizing your Deployment](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#customizing-your-deployment). If the error persists and you are certain you are only using the standard Helm chart and
values.yaml
, the knowledge sources do not provide enough information to diagnose why a
config/docker.yaml
file is being referenced. In this case, you may need to check for customizations or reach out to Airbyte support or the community for further troubleshooting.