Issue reporting template:
To solve your issue, we need your help providing us basic information to solve this issue.
Please take just 2 minutesâł to fill out the following template.
Letâs kill this bug together!
Use the template below, and delete whatever is unnecesary.
Delete everything up â
Description of the issue:
I wanted to use Chat GPT 4 in the automation chain, but when I use it says a request to the service API failed.
Error message (if aplicable):
Please paste the error message below:
A request to the service API failed. Please check the error details
{
âclientErrorCodeâ: âOpenAI run prompt: invalid_type (400)â,
âmessageâ: âOpenAI failed to run prompt: Invalid type for âmax_tokensâ: expected an integer, but got a decimal number instead. (400)â,
âuserHintâ: âA request to the service API failed. Please check the error detailsâ,
âtrackErrorâ: âdefaultâ,
âstackâ: âError: OpenAI run prompt: invalid_type (400)\n at u.fromSerialized (chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:5096672)\n at Object.from (chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:5098815)\n at chatgpt.run (chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:8065657)\n at async qQ (chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:7426311)\n at async c0.handle (chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:7440703)\n at async chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:8583707\n at async ou.guard (chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:8455042)\n at async Jp.invokeFunction (chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:8583665)\n at async Jp.invokeSequence (chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:8573677)\n at async Jp.invokePlaybook (chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:8575439)\n at async eh.execute (chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:8594154)\n at async eh.executeWithResult (chrome-extension://ihhkmalpkhkoedlmcnilbbhhbhnicjga/background.js:2:8594853)â,
âclientErrorHistoryâ: [
{
âclientErrorCodeâ: âOpenAI run prompt: invalid_type (400)â,
âclientErrorDetailsâ: {
âtypeâ: âApiErrorâ,
âmoduleâ: âOpenAIâ,
âoperationâ: ârun promptâ,
âstatusâ: 400,
âheadersâ: {
âaccess-control-allow-originâ: â*â,
âaccess-control-expose-headersâ: âLinkâ,
âalt-svcâ: âh3=":443"; ma=86400â,
âbardeen-proxy-successâ: â1â,
âcache-controlâ: âno-store, max-age=0â,
âcf-cache-statusâ: âDYNAMICâ,
âcf-rayâ: â88b0c2460d7a826f-IADâ,
âcontent-lengthâ: â215â,
âcontent-security-policyâ: âdefault-src âselfâ; object-src ânoneâ; frame-ancestors ânoneâ; upgrade-insecure-requests; block-all-mixed-content;â,
âcontent-typeâ: âapplication/jsonâ,
âdateâ: âTue, 28 May 2024 19:47:51 GMTâ,
âopenai-organizationâ: âbardeen-incâ,
âopenai-processing-msâ: â20â,
âopenai-versionâ: â2020-10-01â,
âreferrer-policyâ: âno-referrerâ,
âserverâ: âcloudflareâ,
âstrict-transport-securityâ: âmax-age=15724800; includeSubDomainsâ,
âx-content-type-optionsâ: ânosniffâ,
âx-powered-byâ: âExpressâ,
âx-ratelimit-limit-requestsâ: â10000â,
âx-ratelimit-remaining-requestsâ: â9999â,
âx-ratelimit-reset-requestsâ: â6msâ,
âx-request-idâ: âreq_925618a77edb8acaeea3ac9bf7b0ca17â
},
âmessageâ: âOpenAI failed to run prompt: Invalid type for âmax_tokensâ: expected an integer, but got a decimal number instead. (400)â,
âcodeâ: âinvalid_typeâ
},
âfingerprintâ: [
âOpenAI run prompt: invalid_type (400)â
],
âmessageâ: âOpenAI failed to run prompt: Invalid type for âmax_tokensâ: expected an integer, but got a decimal number instead. (400)â,
âuserHintâ: âA request to the service API failed. Please check the error detailsâ
}
],
âfingerprintâ: [
âOpenAI run prompt: invalid_type (400)â
],
âtroubleshootingCandidatesâ: [
âopen-ai-run-prompt-invalid-type-400â
]
}
Steps to reproduce this issue:
Please provide a detailed account of the steps taken to encounter the issue. Where did you start? What actions did you perform? Where did you encounter the error?
Ex: I pinned this salesforce automation to my app, connected salesforce and then ran it over this linkedin profile. I received the error message and have been unable to resolve it.
Bardeen version: ____
2.57.1.
Link to Playbook or Autobook (if applicable):
Video recording or screenshots (optional, but recommended):
(Upload your files here)
You can also embedd a loom video or gif.