syedmurtaza108 / chucker-flutter

An HTTP requests inspector inspired by Chucker Android
https://pub.dev/packages/chucker_flutter
MIT License
54 stars 32 forks source link

FormatException: Unexpected character (at character 1) #30

Closed navneet-coditas closed 1 year ago

navneet-coditas commented 1 year ago

FormatException: Unexpected character (at character 1)

I got this error after calling a 404 status code expected API.

To Reproduce Steps to reproduce the behavior:

  1. Call this API https://fakestoreapi.com/productsk using dio

Expected behavior It must show a 404 error in the console not stuck in the interceptor.

Screenshots

Screenshot 2023-04-15 at 3 06 52 AM

Version:

syedmurtaza108 commented 1 year ago

@navneet-singh-github Thank you for fixing this issue. I have merged your PR and latest changes would be available on pub.dev under 1.5.1.

As a gesture of appreciation, I have added you in README.md 👏.

navneet-coditas commented 1 year ago

Thankyou 😀