Hi Chi – This might come down to one of two things –
- Different inputs to the function when it’s being run in the console/called from a webhook
- Different permissions for the request. Ex. you may be running as a System user in the console, but te Webhook may be using different permissions.
If you can DM me a link to your application or post information on your function/how you are calling the webhook, I may be able to help you further troubleshoot.