Creating objects api; Update error message