Skip to content

API /device/<mac>/update-column limitation #1598

@IntExCZ

Description

@IntExCZ

What installation are you running?

Production (netalertx) 📦

Is there an existing issue for this?

The issue occurs in the following browsers. Select at least 2.

  • Firefox
  • Chrome
  • Edge
  • Safari (unsupported) - PRs welcome
  • N/A - This is an issue with the backend

Current Behavior

POST /device//update-column
Payload:
{
"columnName": "devSSID",
"columnValue": "TEST"
}

ERROR:
Validation Error: Input should be 'devName', 'devOwner', 'devType', 'devVendor', 'devGroup', 'devLocation', 'devComments', 'devFavorite', 'devParentMAC' or 'devCanSleep'

Expected Behavior

Update device's SSID.

Steps To Reproduce

POST /device//update-column
Payload:
{
"columnName": "devSSID",
"columnValue": "TEST"
}

Relevant app.conf settings

docker-compose.yml

Debug or Trace enabled

  • I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.

Relevant app.log section

  PASTE LOG HERE. Using the triple backticks preserves format.

Docker Logs

  PASTE DOCKER LOG HERE. Using the triple backticks preserves format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Waiting for reply⏳Waiting for the original poster to respond, or discussion in progress.bug 🐛Something isn't workingnext release/in dev image 🚀This is coming in the next release or was already released if the issue is Closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions