Wrong type for region on get dcim devices in swagger #8521

Closed
opened 2025-12-29 20:37:45 +01:00 by adam · 1 comment
Owner

Originally created by @aopdal on GitHub (Aug 28, 2023).

NetBox version

v3.5.8

Python version

3.10

Steps to Reproduce

  1. Click on REST API documentation icon in NetBox web interface
  2. Go to GET /api/dcim/devices/
  3. Click on Try it out
  4. Go down to region
  5. Click add integer item -> should be add string item to register region slug
  6. Write a valid region slug
  7. Go down to Execute and click it

Expected Behavior

Should list devices belonging to a Region

Observed Behavior

The following error message comes up:
Please correct the following validation errors and try again.
index0errorValue must be an integer

Originally created by @aopdal on GitHub (Aug 28, 2023). ### NetBox version v3.5.8 ### Python version 3.10 ### Steps to Reproduce 1. Click on REST API documentation icon in NetBox web interface 2. Go to GET /api/dcim/devices/ 3. Click on Try it out 4. Go down to region 5. Click add integer item -> should be add string item to register region slug 6. Write a valid region slug 7. Go down to Execute and click it ### Expected Behavior Should list devices belonging to a Region ### Observed Behavior The following error message comes up: Please correct the following validation errors and try again. index0errorValue must be an integer
adam added the status: duplicate label 2025-12-29 20:37:45 +01:00
adam closed this issue 2025-12-29 20:37:46 +01:00
Author
Owner

@abhi1693 commented on GitHub (Aug 28, 2023):

Duplicate of #13459

@abhi1693 commented on GitHub (Aug 28, 2023): Duplicate of #13459
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8521