I am currently facing an issue with deploying a FastAPI application into Oracle Functions. Specifically, the problem arises when I try to implement custom endpoints, such as /hello.
Steps to Reproduce
- Implement a custom endpoint, e.g.,
/hello.
- Deploy FastAPI application into Oracle Functions.
- Call the
/hello endpoint.
Expected Behavior
The request to the /hello endpoint should be processed correctly, and the corresponding response should be returned.
Actual Behavior
When calling the /hello endpoint, it unexpectedly redirects to the /call endpoint. Additionally, if I comment out the code for the /call endpoint, Oracle Functions returns the following error:
{
"code": "FunctionInvokeInvalidResponse",
"message": "invalid function response"
}