error: xmlhttprequest error. dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 906:28
XMLHttpRequest Error means only 2 things:--
1) You might not be sending the request to the proper API
2) You might be sending proper data to testing server from production product.