Couldn't save annotations - NER

I'm working on NER on some longer form text, complete raw text extracted from html. If I go beyond a couple of annotations, when I save, I get an error in the annotator that is along the lines of "couldn't save annotations..." it disappears to quickly to grab the entire error.

With the env PRODIGY_LOGGING=basic basic, I don't see any corresponding error in the terminal.

nothing on verbose either...

seems to be getting caught in the front end console,

VM242:1 POST http://XXXX/give_answers 413 (Request Entity Too Large)

So it's on me and my NGINX config.

For anyone else that finds this and is using NGINX the solution was to add and up the client_max_body_size in the appropriate NGINX config file (Module ngx_http_core_module). eg,

client_max_body_size 50m;
2 Likes

Thanks for the update, that's good to know! :+1:

Just adding +1 here for others.

I had the same error message while saving annotations. Adding the client_max_body_size 0; setting to my nginx config disables the size check and seems to have fixed things for me. Would never have spotted this error if I didn't find this thread. Thanks.

1 Like