[SalesForce] Lightning Web Component Navigation Mixing

From One LWC I am trying to open the custom object New Creation Page but getting below error :

"This page isn't available in Salesforce Lightning Experience or
mobile app"

Below is the codes available: HTML

<lightning-layout-item padding="horizontal-small">
    <lightning-button label="New" onclick={createNewCarType}></lightning-button>
</lightning-layout-item>

JAVASCRIPT

import { NavigationMixin } from 'lightning/navigation';

    {createNewCarType() {
        this[NavigationMixin.Navigate]({
            type: 'standard__objectPage',
            attribute: {
                objectApiName: 'Car_Type__c',
                actionName: 'new'
            }
        })

    }
}

Best Answer

Misprint in attribute key should be fixed to attributes

import { NavigationMixin } from 'lightning/navigation';

    {createNewCarType() {
        this[NavigationMixin.Navigate]({
            type: 'standard__objectPage',
            attributes: {
                objectApiName: 'Car_Type__c',
                actionName: 'new'
            }
        })

    }
}