Skip to main content
Question

OpenAICompletionsConnector: Getting this error OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): An error occurred while accessing the URL 'https://api.openai.com/v1/completions'. This connector used to work in FME Form 2022.2. Any advise?

  • August 24, 2023
  • 1 reply
  • 93 views

angwan
Contributor
Forum|alt.badge.img+7

imageLogs:

 

OpenAICompletionsConnector_2 Input Input Collector (TeeFactory): Cloned 3 input feature(s) into 3 output feature(s)

OpenAICompletionsConnector_2_Input1680804321 Input Splitter (TeeFactory): Cloned 3 input feature(s) into 3 output feature(s)

OpenAICompletionsConnector_2_ParameterFetcher (TeeFactory): Cloned 3 input feature(s) into 3 output feature(s)

OpenAICompletionsConnector_2_EmptyNumericValues (TeeFactory): Cloned 3 input feature(s) into 3 output feature(s)

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [3]: Starting HTTP upload to 'api.openai.com'. Expected transfer size: 411 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [3]: HTTP Upload: sent 411 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [1]: Starting HTTP upload to 'api.openai.com'. Expected transfer size: 411 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [1]: HTTP Upload: sent 411 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [2]: Starting HTTP upload to 'api.openai.com'. Expected transfer size: 414 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [2]: HTTP Upload: sent 414 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [1]: Starting HTTP download from 'api.openai.com'. Expected transfer size: 222 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [1]: HTTP Download: received 222 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [1]: HTTP transfer summary (api.openai.com): status code: 429, download size: 222 bytes, DNS lookup time: 73 ms, total transfer time: 393 ms

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): An error occurred while accessing the URL 'https://api.openai.com/v1/completions'

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [2]: Starting HTTP download from 'api.openai.com'. Expected transfer size: 222 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [2]: HTTP Download: received 222 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [3]: Starting HTTP download from 'api.openai.com'. Expected transfer size: 222 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [3]: HTTP Download: received 222 bytes

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [2]: HTTP transfer summary (api.openai.com): status code: 429, download size: 222 bytes, DNS lookup time: 73 ms, total transfer time: 405 ms

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): [3]: HTTP transfer summary (api.openai.com): status code: 429, download size: 222 bytes, DNS lookup time: 72 ms, total transfer time: 406 ms

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): An error occurred while accessing the URL 'https://api.openai.com/v1/completions'

OpenAICompletionsConnector_2_HTTPCaller (HTTPFactory): An error occurred while accessing the URL 'https://api.openai.com/v1/completions'

 

1 reply

j.botterill
Evangelist
Forum|alt.badge.img+69

According to the FME hub for this transformer FME Hub (safe.com)  FME 2022.2.2.0 (Build 22782) or higher is required... So check your build is in fact higher.

FME Community (safe.com)

​

You can right click the transformer and edit. Then inspect where the 'https://api.openai.com/v1/completions' httpcall is located, referring to the API documentation API Reference - OpenAI API