Chapter 11 - Networking Error

Greetings,

I am working through Chapter 11, and I’m unable to connect to the service via the app (the error is Failed Connection). I have validated the GET command using curl and that works as expected. I printed out the query string from within the app and it is also correct. As a last resort, I copied over the file from the final project, substituted my app id and key, but alas it’s still failing to connect. I’m really at a loss for why this should be occurring.

The query string is:

https://api.edamam.com/search?app_id=*app_id*&app_key=*app_key*&q=chicken&from=0&to=20

Thanks in advance.

UPDATE: I pulled the entire ‘final’ folder over and built/ran the app and got the same failure.

Welcome to the Community, @chuckmcknight. We’re glad to have you here.

Thank you for posting your Flutter Apprentice question and seeking help from the forum. We will do our best to assist you with your error.

Don’t hesitate to ask any further questions or provide additional details to help us understand your issue better.

@benmorrow your feebacks on @chuckmcknight question would be helpful.

What device are you using? Android? If so, check the manifest file to see if there is an internet permission. Can you post a error log?

No disrespect intended, but it’s been four months since I posted the question. I’ll have to revisit this over the coming weekend and will provide more info then.

1 Like

So sorry. For some reason I didn’t receive a notification of this.