[Question] Facing 403 Forbidden Error when Using SmartThings CLI to Update Device Profile

Hello, I am trying to update a device profile using the SmartThings CLI, but I keep encountering a 403 Forbidden error. I need some help in understanding and resolving this issue.

CLI Command Used

smartthings deviceprofiles:update abbfc927-12a5-4636-8ec6-dcc8fd66456f --input profile.json --json
    AxiosError: Request failed with status code 403
    Code: ERR_BAD_REQUEST

profile.json

{
    "mnmn": "SmartThingsCommunity",
    "vid": "d1e00e27-efb6-3738-b4ec-abd1d51b5bd7",
    "version": "0.0.1",
    "type": "profile",
    "dashboard": {
        "states": [
            {
                "component": "main",
                "capability": "temperatureMeasurement",
                "version": 1,
                "idx": 0,
                "group": "main",
                "values": [],
                "composite": false
            },
            {
                "component": "main",
                "capability": "relativeHumidityMeasurement",
                "version": 1,
                "idx": 1,
                "group": "main",
                "values": [],
                "composite": false
            },
            {
                "component": "main",
                "capability": "carbonDioxideMeasurement",
                "version": 1,
                "idx": 2,
                "group": "main",
                "values": [],
                "composite": false
            }
        ],
        "actions": [],
        "basicPlus": []
    },
    "detailView": [
        {
            "component": "main",
            "capability": "temperatureMeasurement",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "main",
            "capability": "relativeHumidityMeasurement",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "main",
            "capability": "fineDustSensor",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "main",
            "capability": "veryFineDustSensor",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "main",
            "capability": "carbonDioxideMeasurement",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "main",
            "capability": "battery",
            "version": 1,
            "values": [],
            "patch": []
        }
    ],
    "automation": {
        "conditions": [
            {
                "component": "main",
                "capability": "temperatureMeasurement",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "relativeHumidityMeasurement",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "fineDustSensor",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "veryFineDustSensor",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "carbonDioxideMeasurement",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "battery",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            }
        ],
        "actions": []
    },
    "presentationId": "d1e00e27-efb6-3738-b4ec-abd1d51b5bd7",
    "manufacturerName": "SmartThingsCommunity"
}

Your profile.json file is not a device profile. It is a device config which represents the user configurable part of a device presentation.

It would be used as input to smartthings presentation:device-config:create to create a new presentation (aka vid).

So something is a bit confused.