Error with chatGPT

Hi all

So when i have followed the " Build a ChatGPT clone with Xano & WeWeb" video and i see no reason for my workflow not to work but for some reason nothing is working. Im just getting a

name: “Error”
stack: "Error at Object.createChatCompletion

any ideas what im doing wrong. in the message section i have this code

{
role: “user”,
content: `Please create a professional CV with the following details:

Name: ${context.local.data?.[‘form’]?.[‘formData’]?.[‘name’] || “Not provided”}
Email: ${context.local.data?.[‘form’]?.[‘formData’]?.[‘email’]|| “Not provided”}
Phone: ${context.local.data?.[‘form’]?.[‘formData’]?.[‘phone’]|| “Not provided”}
Location: ${context.local.data?.[‘form’]?.[‘formData’]?.[‘location’] || “Not provided”}

Format it nicely as a CV.`
}

which i think should work but doesnt??

any help please

cheers paul

Help us help you!

If you’re stuck on a problem, please include screenshots or a short video showing:

  • What you’re trying to achieve
  • How things are set up
  • The steps to reproduce the issue
  • What you’ve already tried
  • Where exactly you’re getting stuck

The more context you provide, the easier it is for the community to understand your use case, and hopefully get you the answers you need faster!

Delete the text above and type your answer in this box

Hi Paul :waving_hand:

We are going to need more information in order to help you.

The error message is saying that you have a mistake when trying to create a chat completion.

That could be for several reasons.

Are you properly connected to Xano?
Are you using an OpenAI API?

Please attach some screenshots of your app so we can take a look

1 Like

hey man.

so yeah to both of those buddy. i cant figure out whats happening with it all. here are a couple of screenshots


any help would be amazing

cheers paul

Paul. there’s an error in your screenshot saying : “you exceeded …”
What does it say?

yeah i see that but it wasnt working before that issue cropped up. any ideas?? how would you write the formula for this???

cheers paul

I’m going to ask you to get in touch with support but you’re going to need to share more information about your project:

no worries. thanks for that. ill reach out. fingers crossed it will get sorted. been building this for ages

1 Like