Wrong method on api