updated 'Type already exists error' to return ID and OK Status instead of Error