error handling for status codes, added allComments for gallery object request