Hi everyone,
I've recently run into an issue with some code that I have has successfully working for over a year. The problem occurs when I try to add new rows to my agol hosted feature layer using the following code.
![MarkBennett_0-1682440121510.png MarkBennett_0-1682440121510.png](https://community.esri.com/t5/image/serverpage/image-id/69053iC891242D068B811B/image-dimensions/785x51?v=v2)
I can run almost the exact same code in order to update online features and don't run into any issues. Below is the error that I get. I thought that this might have to do with the online data having categorical d types, while the geodatabase does not, but I'm not sure why this doesn't affect using the edit_features to update features though.
{KeyError} CategoricalDtype(categories=['left_only', 'right_only', 'both'], ordered=False)
If anyone had any ideas they can tell me, or has experienced anything similar, I'd be grateful for the help!
Thank you in advance!