I have been charged with the task of shuttling geospatial data from our web application to AGOL. I would like to do this with no user intervention if possible. I created a small application that successfully creates the feature service in AGOL, but when I try to use the layer, it results in error messages. Documentation is scant on how to do this and I was wondering if anyone has attempted to do this. Attached is the application. Thanks in advance for your help.