Error parsing YAML in config file (?)

Hello community, I encountered this error while setting up cloudflared tunnel.

$ cloudflared tunnel run netzerro
error parsing YAML in config file at /data/data/com.termux/files/home/.cloudflared/config.yaml: yaml: line 3: did not find expected ‘-’ indicator

My config.yaml file is:-

tunnel: f4bb8f8e-a142-4d6a-8f81-80933d70ef75
credentials-file: /data/data/com.termux/files/home/.cloudflared/f4bb8f8e-a142-4d6a-8f81-80933d70ef75.json
ingress:

  • hostname: ip.ashvani.engineer
    service: http://192.168.1.34:8080

  • service: http_status:404

What should I do. I am using Termux app.

I don’t know if it’s a formatting error in the forum software, but your hostname and service lines should not have bullets. They should have dashes. My config file also doesn’t have any blank lines.

tunnel: [REDACTED]
credentials-file: [REDACTED]

ingress:
  - hostname: example.com
    service: https://localhost:443
  - service: http_status:404

These are acutally dashes. I don’t know why it changed into bullets.???

Do three backticks (`) before and after the code.

```
code goes here
```