1

I'm using dio instead of http. When I send a login request to the API, I get this error:

SocketException: Failed host lookup: 'MY URL' (OS Error: No address associated with hostname, errno = 7)

What is this for?

nawkljbcoakjbco
  • 203
  • 3
  • 11

1 Answers1

2

1 You do have internet permissions in manifest. 2 Internet Off. 3 Url is wrong.

Johny Saini
  • 879
  • 1
  • 5
  • 6