New Relic AWS Fargate agent not working

time=“2021-09-15T16:51:52Z” level=warning msg=“integration exited with error state” component=integrations.runner.Runner error=“exit status 2” integration_name=nri-docker stderr="(last 10 lines out of 17): github.com/newrelic/nri-docker/src/raw/aws.(*FargateFetcher).fargateStatsFromCacheOrNew(0xc4202ae880, 0xc420316010, 0x0, 0x0)\n\t/go/src/github.com/newrelic/nri-docker/src/raw/aws/fargate_fetcher.go:76 +0x20a\ngithub.com/newrelic/nri-docker/src/raw/aws.(*FargateFetcher).Fetch(0xc4202ae880, 0xc420302840, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, …)\n\t/go/src/github.com/newrelic/nri-docker/src/raw/aws/fargate_fetcher.go:54 +0x6a\ngithub.com/newrelic/nri-docker/src/biz.(*MetricsFetcher).Process(0xc4202ae940, 0xc420306030, 0x2b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, …)\n\t/go/src/github.com/newrelic/nri-docker/src/biz/metrics.go:145 +0x1e4\ngithub.com/newrelic/nri-docker/src/nri.(*ContainerSampler).SampleAll(0xc4201180c0, 0xb5f7a0, 0xc42001c028, 0xc4200a09a0, 0x0, 0x0)\n\t/go/src/github.com/newrelic/nri-docker/src/nri/sampler.go:89 +0x21c\nmain.main()\n\t/go/src/github.com/newrelic/nri-docker/src/docker.go:92 +0x647"

seeing this log on side car container,data is not showing

time=“2021-09-15T12:20:04Z” level=error msg=“can’t load configuration file” component=“New Relic Infrastructure Agent” error=“invalid license: NRAK-***********, check agent’s config file or NRIA_LICENSE_KEY environment variable”

when i deploy with a new relic agent, the service not starting, throws following error.