mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 23:15:57 +03:00
[GH-ISSUE #1369] Editing API key results in 404 error #858
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#858
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NiceGuyIT on GitHub (Dec 8, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1369
Server Info (please complete the following information):
Installation Method:
Agent Info (please complete the following information):
Describe the bug
Editing an API key returns an error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the API key to be updated.
Screenshots
N/A
Additional context
The frontend submits a POST to
/accounts/apikeys/[object%20Object]/. I suspect[object%20Object]is incorrect because creating a new API key submits a POST to/accounts/apikeys/.As a side note, shouldn't the backend return a JSON instead of HTML for 404 errors?
@wh1te909 commented on GitHub (Dec 8, 2022):
thanks, fixed in
github.com/amidaware/tacticalrmm-web@8f34f76a1dno the default behavior is to return html 404, not json. that would require a custom override
@wh1te909 commented on GitHub (Dec 21, 2022):
fixed in 0.15.6