When a serverless function execution is invoked asynchronously, you receive an execution ID. If you poll for the result after the execution's log retention has expired (or after the function instance was recycled), the platform may return {"error": "invalid execution id", "code": "RGH"} .
As a diagnostic measure, generate a brand new execution ID by initiating a new execution of the relevant process. Then immediately query the status of that new ID.