Wanderlust - LL or Radius Error 400

Hello all,
I seem to have come across something in the Wanderlust project that I can’t find another entry for. Around step 13, when the project asks you to review the details of the link returned by the console, I was greeted with this:

{“meta”:{“code”:400,“errorType”:“param_error”,“errorDetail”:“Must provide parameters (ll and radius) or (sw and ne) or (near and radius) or (nearVenueId and ll) or (superVenueId) or (polygon)”,“requestId”:“5eac4d88216785001b4be22e”},“response”:{}}

I’m not sure what to do here, I’ve looked over the project as well as the provided code, but I can’t for the life of me figure out how to give it those parameters.

My code:

Any help is greatly appreciated, thanks!

const city = $input.val();
const urlToFetch = `${url}&${$input}&limit=10&client_id=${clientId}&client_secret=${clientSecret}&v=20200430`;

You’re declaring city but never using it in your urlToFetch.

Thank you! That wasn’t the only issue, but it did lead me to find the second one as well! There was a ‘&’ in:

“const urlToFetch = `{url}&{$input}”

as well as the issue you mentioned. Thank you so much!

1 Like