MZ Created skills show up but not usable.

I can't seem to figure this one out. I'm making a skill creation system like in oblivion that lets you make your own spells. I am able to get the spells created but it's not usable in game. I see it on the player skills.

this is an example of a spell that gets created:
JavaScript:
{
    "id": 124,
    "damage": {
        "type": 0,
        "elementId": 6,
        "critical": false,
        "formula": "5 * (a.mat - b.mdf)",
        "variance": 0
    },
    "name": "Fire Bullet",
    "description": "A powerful fire spell.",
    "iconIndex": 76,
    "scope": 1,
    "occasionId": 2,
    "spellPower": 5,
    "tpGain": 0,
    "requiredWtypeId1": 0,
    "requiredWtypeId2": 0,
    "effects": [
        {
            "code": 21,
            "dataId": 4,
            "value1": 1,
            "value2": 0
        }
    ],
    "animationId": 2,
    "note": "<ABS>\nradius:1\nrange:5\ndirection:0\nnoContact:1\nspeed:4\nreloadTime:1\nhideOutsideABS:1\nskillImg:firebullet(3, 5)\n</ABS>",
    "messageType": 1,
    "message1": "",
    "message2": "",
    "hitType": 0,
    "speed": 0,
    "stypeId": 1,
    "successRate": 100,
    "meta": {
        "ABS": true
    },
    "type": "magic",
    "mpCost": 50,
    "tpCost": 0
}

everything seems to be right but I don't know. The spell details also doesn't show up when looking at the spell. just the name and icon using (visual_stella) skill core.

Update:
even stranger, I'm using alpha abs and when I run the command to add the new created skill as an AA.skill allowing me to use it for the ABS the skill works. but still not working from the menu.

I've also removed all the plugins and tried with just my plugin
Have you compared this with any skill from "Skills.json" in your data folder, because there the field is called "occasion" and not "occassionId" as in your example. Maybe this is the problem why it won't show up on the menu?
Have you compared this with any skill from "Skills.json" in your data folder, because there the field is called "occasion" and not "occassionId" as in your example. Maybe this is the problem why it won't show up on the menu?
LOL! I did but I guess I missed it... let me try that now!

EDIT: Thanks a lot! it was just that.

Original thread: https://forums.rpgmakerweb.com/threads/created-skills-show-up-but-not-usable.170484/