Application studio - Tracking Errors - Help Needed

I have an error on a layer I created. The error is caused by an expired api key on a function call. The issue is I thought I removed the function call and cant remember the event I made that calls it.

Is there an easy way to identify user-created events? Or is there a way to diagnose what event is triggering that funciton call through the error messages?