Page 1 of 1

Ionic app service response mapping is showing "Too Many Errors (38% scanned)" and not mapping data correctly.

Posted: Wed Nov 23, 2016 6:28 pm
by Matt6607699

Service response mapping is showing "Too Many Errors (38% scanned)" and not mapping data correctly. My service response has no custom code and is just mapped from the response data to $scope vars(Modals) with matching types. The response is giving values to all of the mapped variables but the values are incorrect. The response is somewhat long, could that be the issue?

I compare the service response with the final results like this:

$scope.user = user_scope;
console.log("Service Response 1 = "+JSON.stringify(success.data.data.toProfile));
console.log("Service Response 2 = "+JSON.stringify($scope.user.location_data));

The values are different when compared. I have shared the app with Appery. It's call EB. The page is Login_Registration and the $scope function is login(). To test, click the top right icon and login with user: a href="mailto:matt@matt.com" rel="nofollow"matt@matt.com/a pass: 1234
The console.log will show up after that.


Ionic app service response mapping is showing "Too Many Errors (38% scanned)" and not mapping data correctly.

Posted: Mon Nov 28, 2016 11:15 pm
by Juan Rivera Ortiz

ok, i have something like these.


Ionic app service response mapping is showing "Too Many Errors (38% scanned)" and not mapping data correctly.

Posted: Thu Dec 01, 2016 1:03 pm
by Serhii Kulibaba

Hello Matt,

Could you add all scanned data into some alert? E.g. run JS:
prealert(JSON.stringify(data));/pre in the function "success" of the barcode service. What data do you get there?