Skip to content

API 404 Error #58

@haukened

Description

@haukened

Hello, while trying to import my Nexus device, i get the following error when the importer hits the netbox API:
404 Client Error: Not Found for url: https://ipam.xxxx.com/api/dcim/_choices/?limit=50 --

it doesn't appear that the /api/dcim/ endpoint has a _choices option anymore:

HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "cables": "https://ipam.xxxx.com/api/dcim/cables/",
    "connected-device": "https://ipam.xxxx.com/api/dcim/connected-device/",
    "console-port-templates": "https://ipam.xxxx.com/api/dcim/console-port-templates/",
    "console-ports": "https://ipam.xxxx.com/api/dcim/console-ports/",
    "console-server-port-templates": "https://ipam.xxxx.com/api/dcim/console-server-port-templates/",
    "console-server-ports": "https://ipam.xxxx.com/api/dcim/console-server-ports/",
    "device-bay-templates": "https://ipam.xxxx.com/api/dcim/device-bay-templates/",
    "device-bays": "https://ipam.xxxx.com/api/dcim/device-bays/",
    "device-roles": "https://ipam.xxxx.com/api/dcim/device-roles/",
    "device-types": "https://ipam.xxxx.com/api/dcim/device-types/",
    "devices": "https://ipam.xxxx.com/api/dcim/devices/",
    "front-port-templates": "https://ipam.xxxx.com/api/dcim/front-port-templates/",
    "front-ports": "https://ipam.xxxx.com/api/dcim/front-ports/",
    "interface-templates": "https://ipam.xxxx.com/api/dcim/interface-templates/",
    "interfaces": "https://ipam.xxxx.com/api/dcim/interfaces/",
    "inventory-item-roles": "https://ipam.xxxx.com/api/dcim/inventory-item-roles/",
    "inventory-item-templates": "https://ipam.xxxx.com/api/dcim/inventory-item-templates/",
    "inventory-items": "https://ipam.xxxx.com/api/dcim/inventory-items/",
    "locations": "https://ipam.xxxx.com/api/dcim/locations/",
    "manufacturers": "https://ipam.xxxx.com/api/dcim/manufacturers/",
    "module-bay-templates": "https://ipam.xxxx.com/api/dcim/module-bay-templates/",
    "module-bays": "https://ipam.xxxx.com/api/dcim/module-bays/",
    "module-types": "https://ipam.xxxx.com/api/dcim/module-types/",
    "modules": "https://ipam.xxxx.com/api/dcim/modules/",
    "platforms": "https://ipam.xxxx.com/api/dcim/platforms/",
    "power-feeds": "https://ipam.xxxx.com/api/dcim/power-feeds/",
    "power-outlet-templates": "https://ipam.xxxx.com/api/dcim/power-outlet-templates/",
    "power-outlets": "https://ipam.xxxx.com/api/dcim/power-outlets/",
    "power-panels": "https://ipam.xxxx.com/api/dcim/power-panels/",
    "power-port-templates": "https://ipam.xxxx.com/api/dcim/power-port-templates/",
    "power-ports": "https://ipam.xxxx.com/api/dcim/power-ports/",
    "rack-reservations": "https://ipam.xxxx.com/api/dcim/rack-reservations/",
    "rack-roles": "https://ipam.xxxx.com/api/dcim/rack-roles/",
    "racks": "https://ipam.xxxx.com/api/dcim/racks/",
    "rear-port-templates": "https://ipam.xxxx.com/api/dcim/rear-port-templates/",
    "rear-ports": "https://ipam.xxxx.com/api/dcim/rear-ports/",
    "regions": "https://ipam.xxxx.com/api/dcim/regions/",
    "site-groups": "https://ipam.xxxx.com/api/dcim/site-groups/",
    "sites": "https://ipam.xxxx.com/api/dcim/sites/",
    "virtual-chassis": "https://ipam.xxxx.com/api/dcim/virtual-chassis/"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions