Hi Sowjanya,
I am not able to reproduce your error. I'm using Web AppBuilder embedded within ArcGIS Online. Can you share the REST URL to your web service?
Hi Phil,
Not sure what you mean when you say "... occurs on layers that are added to the map programatically ...", like within a custom widget?
If you think the behavior you're seeing in Web AppBuilder Developer Edition v2.3 is a bug - please open an incident with Esri Tech Support so we can get some repro steps to investigate further.
Hope this helps,