an error occurred while processing this directive - only happens on larger form
===

I have a form that contains an album of photos. Each photo has a checkbox. When the user presses submit, the checked boxes are sent to another page for processing. So far this works fine for most albums, even up to 100 photo, but there is one album that has 262 photos. If a user tries to submit that form, the error: [an error occurred while processing this directive] shows up. Any clue what that might be, and why it only happens with the larger album?