OpenAI API Failures

I am encountering two errors that did not previously exist in a completion prompt I’m running:

  1. The response back says that Open AI cannot browse the Internet (“I’m unable to access external websites directly.”). When I take the prompt and put it into ChatGPT it works fine. It appears that something must have changed with how the API is being called.
  2. I get a max token error when I have 0 set. 0 should be the indicator to use the max for the model.

I have tried my step with each GPT model with the same results, except with #2 which seems to only affect the new models.

Has something changed with the API that Make.com needs to fix?

Sadness, @asmang. How long ago did the problem arise?

I confirm that the OpenAI module doesn’t check a website. This is expected behavior for me, because I’m used to needing to scrape a site before using it as OpenAI source materials through the API/modules like this.

Yet, ChatGPT directly does. This is expected behavior for me.

Regarding using 0 for Max Tokens, I don’t receive an error.

:four_leaf_clover:

It should and it has for me. This is recent, maybe the last week or so? I set the project aside for a little bit.

I’m getting the same response as you but wasn’t previously. I will have to also try it in the OpenAI sandbox, though I’ve seen it work there before and feel like there’s a module update needed by Make.com since there have been a few API updates.

1 Like

ChatGPT doesn’t work on Make

“ChatGPT” (including Plus) and “OpenAI GPT models” are two separate products. Did you confuse these two?

The consumer chat “ChatGPT” at chatgpt.com is NOT compatible with Make.

Make uses the “OpenAI GPT models”, only accessible via the OpenAI developer platform. These do NOT have any internet/scraping access.

OpenAI APIs for developer (commercial) use does not have any free plan

To resolve this issue,

  1. You can buy credits on the OpenAI Developer Dashboard, under Accounts

    Billing page

  2. Next, go to the Usage Limits page, and set the Monthly budget field to the same as the value above (e.g.: 120), then save your changes.

More Information

For more information, see

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

No, but I believe you may have within my note about ChatGPT. What I was saying was:

  1. Without making any changes to my previously working module, it now provides an error response (not an API message but a result with text saying it can’t browse).
  2. If I take the generated prompt and then put it in ChatGPT it works.

I have credit in my OpenAI account.

Prompt snippet (this had been working fine) is below. Note that I’ve tried gpt-4 as the model as well and that didn’t work but worked fine in the OpenAI playground.

What I’ve said is correct. The GPT-4o model and other models via the OpenAI developer platform does not have access to the internet.

The consumer version directly at ChatGPT.com has internet scraping access. This is NOT a Make limitation or issue - it’s just a different product.

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

Hello @asmang,
@samliew is right about the GPT-4o model and other models via the OpenAI developer platform do not have access to the internet.

I also knew that at this moment using API(not interface) there is no one( popular AI Model) able to extract live data from the Internet.

I’ve also read multiple articles about this in different communities where I’ve found that Perplexity can able to do that but It’s not 100% accurate because it’s ‘pre-indexed’ from a WebCrawl (like what Google does) and not live lookups however.
Official community post from OpenAI

Does the OpenAI API Provide Internet Access for Web Browsing? - #4 by wclayf - API - OpenAI Developer Forum

Older post

Reddit
Does GPT4 API have access to the internet?
Google


:bulb:Tip: Check Make Academy & search first! If this is helpful, mark it as a solution and :+1:
Need expert help or have questions? Contact or comment below! :point_down:

How was it previously doing it? Any other options? Thanks for replying.

It seemed to be previously working. I can try Perplexity, but it’s very odd that there’s such a huge change all of a sudden if it was never working. Any thoughts? I appreciate you and @samliew replying.

These AI Models are pre-trained based on previously available data.
I’m not 100% sure but maybe that request you asked for which is already there on their previously trained data.
Another important factor is I’ve asked directly GTP for their model cut-off dates.

Note: I’m not a regular user of OpenAI API so it still needs to be confirmed by some regular user.

I hope it helps.

Thanks so much for having a look!