Commit API status code validation updated