Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Custom Endpoint in FastAPI Deployment on Oracle Functions #1

Open
sats268842 opened this issue Jan 4, 2024 · 0 comments

Comments

@sats268842
Copy link

sats268842 commented Jan 4, 2024

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

  1. Implement a custom endpoint, e.g., /hello.
  2. Deploy FastAPI application into Oracle Functions.
  3. 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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant