# Invalid URL or Key issue

At the very first time you add new API endpoint, you may encounter issue **Invalid URL or key:**

<figure><img src="/files/eySCU0VWnkeZCJY6LRQo" alt=""><figcaption><p>Invalid URL or key issue when add new API endpoint</p></figcaption></figure>

The first and most popular reason is that you have not included billing payment for the ChatGPT API. There is a difference between the ChatGPT API, which is required to be used in MindMac, and ChatGPT Plus. You can find further information [here](https://help.openai.com/en/articles/6950777-what-is-chatgpt-plus).&#x20;

> **Is the ChatGPT API included in the ChatGPT Plus subscription?**<br>
>
> *No, the ChatGPT API and ChatGPT Plus subscription are billed separately. The API has its own pricing, which can be found at* [*https://openai.com/pricing*](https://openai.com/pricing)*. The ChatGPT Plus subscription covers usage on chat.openai.com only and costs $20/month.*

To address this issue, simply **go to your** [**OpenAI billing dashboard**](https://platform.openai.com/account/billing/overview) and **add your billing information.**

Other reasons may occur when you input an incorrect website address or an incorrect API key (for example, if you accidentally copied it wrong). Additionally, your free credit may have expired. To resolve these issues, please take a moment to carefully double-check all of this data.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mindmac.app/faqs/invalid-url-or-key-issue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
