Skip to content

[Bug]: nb_lookup fails after Update to Netbox v4.1 #1354

@PhilKet

Description

@PhilKet

Ansible NetBox Collection version

v3.20

Ansible version

ansible [core 2.15.9]
  config file = /home/pke/ansible/ans-config/ansible.cfg
  configured module search path = ['/home/pke/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.9/dist-packages/ansible
  ansible collection location = /var/ansible/collections:/home/pke/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True

NetBox version

v4.1

Python version

3.9

Steps to Reproduce

  1. Update Netbox from v4.0 to v4.1
  2. Try to use nb_lookup module

Expected Behavior

nb_lookup works

Observed Behavior

The task that uses the nb_lookup fails with a "403 Forbidden"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions