Api with fix errors