Skip to content

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

@sats268842

Description

@sats268842

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions