'Bot created using Bot Framework Composer throws: 'Operation returned an invalid status code 'BadRequest'

Bot created using Bot Composer throws 'Operation returned an invalid status code 'BadRequest' immediately after printing dynamic data using Adaptive Card. The Bot is a Skill that is called from a Root bot. The error is only thrown when the bot is called as a skill and does not throw the exception when run on its own.

Stack Trace

Exception thrown after adaptive card



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source