Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

whts d error when i try to access data using public Api #27

Open
Ganeshnath opened this issue Jun 23, 2020 · 0 comments
Open

whts d error when i try to access data using public Api #27

Ganeshnath opened this issue Jun 23, 2020 · 0 comments

Comments

@Ganeshnath
Copy link

I/flutter (11892): url: https://api.openweathermap.org/data/2.5/forecast/daily?q=chennai&appid=ed60fcfbd110ee65c7150605ea8aceea&units=imperial
E/flutter (11892): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: FormatException: Unexpected character (at character 1)
E/flutter (11892): https://api.openweathermap.org/data/2.5/forecast/daily?q=chennai&appid=ed60...
E/flutter (11892): ^
E/flutter (11892):
E/flutter (11892): #0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1394:5)
E/flutter (11892): #1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1261:9)
E/flutter (11892): #2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:926:22)
E/flutter (11892): #3 _parseJson (dart:convert-patch/convert_patch.dart:31:10)
E/flutter (11892): #4 JsonDecoder.convert (dart:convert/json.dart:505:36)
E/flutter (11892): #5 JsonCodec.decode (dart:convert/json.dart:153:41)
E/flutter (11892): #6 Nnetwork.getWeather (package:flutter_widget/ui_network/network.dart:15:49)
E/flutter (11892):
E/flutter (11892): #7 _ForCcState.initState (package:flutter_widget/Weather/weather_for.dart:12:23)
E/flutter (11892): #8 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4640:58)
E/flutter (11892): #9 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
E/flutter (11892): #10 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
E/flutter (11892): #11 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
E/flutter (11892): #12 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
E/flutter (11892): #13 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
E/flutter (11892): #14 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
E/flutter (11892): #15 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
E/flutter (11892): #16 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
E/flutter (11892): #17 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
E/flutter (11892): #18 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
E/flutter (11892): #19 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
E/flutter (11892): #20 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
E/flutter (11892): #21 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
E/flutter (11892): #22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
E/flutter (11892): #23 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
E/flutter (11892): #24 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
E/flutter (11892): #25 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
E/flutter (11892): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
E/flutter (11892): #27 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
E/flutter (11892): #28 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
E/flutter (11892): #29 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
E/flutter (11892): #30 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
E/flutter (11892): #31 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
E/flutter (11892): #32 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
E/flutter (11892): #33 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
E/flutter (11892): #34 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
E/flutter (11892): #35 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
E/flutter (11892): #36 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
E/flutter (11892): #37 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
E/flutter (11892): #38 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5830:14)
E/flutter (11892): #39 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
E/flutter (11892): #40 Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
E/flutter (11892): #41 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
E/flutter (11892): #42 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
E/flutter (11892): #43 Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
E/flutter (11892): #44 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
E/flutter (11892): #45 StatefulElement._firstBuild (package:f

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant