OCI Functions: guide with Event Trigger Configuration Causing 404 Not Found Errors
I'm currently working on deploying a set of OCI Functions that are supposed to be triggered by events from an OCI Object Storage bucket. However, I'm running into a `404 Not Found` behavior when testing the event triggers. I've set up the event subscription correctly, or so I thought, but the logs indicate that the function is not being found. Here's the setup I'm using in Python to create the event trigger: ```python import oci config = oci.config.from_file() event_service_client = oci.events.EventsClient(config) event_rule_details = oci.events.models.CreateRuleDetails( display_name="ObjectCreatedRule", condition="data.lifecycleState='ACTIVE'", actions=[ oci.events.models.Action( action_type="FUNCTION", function_id="<YOUR_FUNCTION_OCID>", invoke_function_details={ "function_id": "<YOUR_FUNCTION_OCID>", "payload": "{}" } ) ] ) response = event_service_client.create_rule(event_rule_details) print(response) ``` I've double-checked that the `function_id` matches the OCID of my deployed function, which is definitely active. Also, I've granted the necessary permissions for the event service to invoke the function. Still, when I upload a file to my Object Storage bucket, I see the following behavior in the logs: ``` behavior: 404 Not Found - Function not found or not configured to receive this event. ``` I even tried manually invoking the function from the OCI console to ensure it's working independently, and it responds correctly. I'm wondering if thereβs a mismatch scenario or if Iβm missing any specific settings for the event triggers. Has anyone experienced similar issues or can provide insights into what else to check?