More error handling when posting