Fix forbidden API syntax error