Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

formatexception

Dart Unhandled Exception: FormatException: Invalid radix-10 number (at character 1)

June 1, 2023 by Tarik

I faced this problem and I solved just removing the https:// from the URL address. If you need keep the https:// in your string for some reason, replace Uri.https to Uri.parse You can see a complete example here: https://flutter.dev/docs/cookbook/networking/fetch-data

Categories flutter Tags dart, flutter, formatexception, unhandled-exception Leave a comment

Input string was not in a correct format

December 30, 2022 by Tarik

The error means that the string you’re trying to parse an integer from doesn’t actually contain a valid integer. It’s extremely unlikely that the text boxes will contain a valid integer immediately when the form is created – which is where you’re getting the integer values. It would make much more sense to update a … Read more

Categories c# Tags c++, exception, formatexception Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa