Yield more helfpul error message when posting a form which references a non-existing resource.