Edits are not applied and the error message, "Error code: 1000, description: Invalid object name" is returned when hosted feature layers with the 'Keep track of created and updated features' option are enabled and the 'Enable Sync' option are disabled.
After disabling sync and running into the issue above, disable Keep Track of Created and Updated Features and Keep Track of who created and last Updated Features options, and enable Keep Track of who created and last Updated Features and Keep Track of Created and Updated Features options. Click Save.