I have created a Google Apps Script to import data from Database(RDS/AWS) to Google Spreadsheet. Then I created a trigger to execute the script, however, I keep getting connection errors. But it's completed successfully when I execute the specific method on Google Apps Script.
Now I want to know if it's because the requesting IP are different between when running by a trigger and hands. How can I know the requesting IP when I execute it with hands and also when the script's run automatically by a trigger?
Thank you.