Replit error 400

**Question:**How should I resolve this error?

Current behavior:

Desired behavior

Repl link:

code snippet

Hey @angie2tran welcome to the forums!

Thank you for your post and sorry that you are experiencing issues. However, we may not be able to help you with this issue if you do not complete the template fields fully.

Without a code excerpt and/or the link to your Repl there won’t be much we can do to help you. A screenshot of the expected output would also be appreciated.

The more information you provide at the start, the easier it will be to identify the bug in your program.


Sorry this is my very first time trying Replit :frowning:

wdym where is the 400 error from? Is it from yelp? If so, that’s because you have no authorization (API) key which you must obtain

1 Like

Error 400 from console of replit. How can I trace to see what caused it. It did not identify the line number?

It is line 33. It is the result of your failed API usage for Yelp.

1 Like

it’s not from the console of replit, it’s from the replit console printing out the response from yelp which is 400, you need a yelp API key


please mark my post as solved

1 Like

@angie2tran I meant my first post

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.