django.core.exceptions.ImproperlyConfigured: Field name instance_count is not valid for model DeviceType. #2716

Closed
opened 2025-12-29 18:21:22 +01:00 by adam · 1 comment
Owner

Originally created by @deathbeam on GitHub (Jul 2, 2019).

Environment

  • Python version: 3.5.2
  • NetBox version: 2.6.1

Steps to Reproduce

  1. Go to /api/docs page
  2. See error like this: Fetch error Internal Server Error **https://<snip>:8000/<snip>/api/docs/?format=openapi**
  3. Check console
  4. Observe django.core.exceptions.ImproperlyConfigured: Field name instance_count is not valid for model DeviceType.

Expected Behavior

Working swagger /api/docs page

Observed Behavior

/api/docs page is not working

Originally created by @deathbeam on GitHub (Jul 2, 2019). ### Environment * Python version: 3.5.2 * NetBox version: 2.6.1 ### Steps to Reproduce 1. Go to /api/docs page 2. See error like this: `Fetch error Internal Server Error **https://<snip>:8000/<snip>/api/docs/?format=openapi**` 3. Check console 4. Observe django.core.exceptions.ImproperlyConfigured: Field name `instance_count` is not valid for model `DeviceType`. <!-- What did you expect to happen? --> ### Expected Behavior Working swagger /api/docs page <!-- What happened instead? --> ### Observed Behavior /api/docs page is not working
adam closed this issue 2025-12-29 18:21:23 +01:00
Author
Owner

@deathbeam commented on GitHub (Jul 2, 2019):

Nvm

@deathbeam commented on GitHub (Jul 2, 2019): Nvm
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2716