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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容