The config you are mentioning is for tool called otb (OTEL Collector Builder) which uses this config to build the binary of the custom collector. The binary you are using this config on is one of the standard distribution. This is not supposed to work. The collector config itself has different structure.