Categorizing a transaction with an attached receipt gives a server error

Categorizing a transaction with an attached receipt gives a server error

I'm categorizing my bank statements and I save an item with an attached receipt. I get an error:

Not able to connect server. Verify your network connection.

This just started to happen yesterday. The rest of the site works fine. If there's no attachment, then the item is saved without error.