Skip to content

Troubleshooting

My function doesn't deploy

First check the error messages that you get from the cli, they usually give a good indicator of the issues.

Common issues are:

  • You are using a name that already exits, first check on the UI/CLI to see if this is the case.
  • You have a malformed jellyspec.json file usually with:
  • The name is incorrect
  • The entry point does not match the code.
  • You wanted to POST, but didn't change the spec to a POST, or you have not changed your code to check for the correct type.
  • The code doesn't build and run, does it run locally in test mode?

I cannot call out to JellyFaaS

  • Are you using you Secret key instead of your web token?
  • Has the token expired?
  • Are you sure you are calling the correct endpoint, and if programmatically calling are you using https instead of http?
  • Are you using the correct REST Verb, is the function a GET and you are using a POST?

The AI is not working as expected?

  • Are you asking the correct question? AI often fails to interpret the question, especially around using external sources for reference.
  • Check the outout errors from the call out, they will contain a number of issues that may have occurred, for example The model didn't request anything from the database. In this case look at changing the question, or using a extra param that asks a different question to the Vector Database.