error handiling started for uptrends API Data Layer.