i'm trying to enable attachments on an AGOL Feature Service, when i toggle the button in the

i get this unhelpful error:

so i tried to do it in the admin section by updating the json but that returns this error:

has anyone else seen this and fixed it? how can i delete the table ?
Stu