String reference not set to an instance of a String. (Parameter 's')

0

Enter image description here Hello.

Can someone help me?

I'm getting this error only when I publish to AWS EB.

[HttpGet]
        public IActionResult Index()
        {
            string settings = "Testtttttttttt";
            return Ok(settings);
        }
  • Hi, @DevMarcelF

    Add information about your application and framework, such as version.
    Also add configuration information about Elastic Beanstalk.

    I'm assuming it's ASP.NET MVC from the logs, but I'm not sure otherwise.

質問済み 2年前221ビュー
1回答
0
承認された回答

It was a secret not being set in production.

回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ