[TBA]: TBA API Errors

I keep getting the following error while using the TBA API:

Error: API key not specified or invalid

I have inserted the api key in the code with quotes. Can someone help me?

Make sure it’s api.php?api_key=your_api_key. Make sure it isn’t api_key=“your_api_key”