Registering a card with the same name multiple times duplicates ui #10

Open
opened 2026-11-17 18:14:48 +01:00 by ahtlon · 2 comments
Owner
No description provided.
Author
Owner

error log:

[611763.464903 < 1392.323793 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: Response from `UserApi.GetById`: &{admin {<nil> true} 0x377acc030835 1}
[611763.501690 <    0.036787 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: Error when calling `GroupAPI.GetGroupsGroupsGet``: json: unknown field "last_used"
[611763.501690 <    0.000000 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: Full HTTP response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[229] Content-Type:[application/json] Date:[Tue, 17 Nov 2026 17:37:19 GMT] Server:[uvicorn]] {[{"name":"grupp3","id":1,"cards":[{"enabled":true,"id":1,"name":"testcard1","last_used":"2026-11-17T17:10:57.655439Z","key":"b99c0e250136025516e3d8fcecfd5418","card_serial":"04:27:63:F2:3E:50:80","group_id":1}],"accessauths":[]}]} 229 [] false false map[] 0x377acc3e0780 <nil>}
[611763.538793 <    0.037103 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: [GIN-debug] [WARNING] Headers were already written. Wanted to override status code 400 with 200
[611763.538793 <    0.000000 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: [GIN] 2026/11/17 - 17:37:19 | 400 |  98.47ms |   192.168.1.158 | GET      "/groups"
[611763.669605 <    0.130812 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: [GIN] 2026/11/17 - 17:37:19 | 404 |    355ns |   192.168.1.158 | GET      "/favicon.ico"

error log: ``` [611763.464903 < 1392.323793 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: Response from `UserApi.GetById`: &{admin {<nil> true} 0x377acc030835 1} [611763.501690 < 0.036787 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: Error when calling `GroupAPI.GetGroupsGroupsGet``: json: unknown field "last_used" [611763.501690 < 0.000000 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: Full HTTP response: &{200 OK 200 HTTP/1.1 1 1 map[Content-Length:[229] Content-Type:[application/json] Date:[Tue, 17 Nov 2026 17:37:19 GMT] Server:[uvicorn]] {[{"name":"grupp3","id":1,"cards":[{"enabled":true,"id":1,"name":"testcard1","last_used":"2026-11-17T17:10:57.655439Z","key":"b99c0e250136025516e3d8fcecfd5418","card_serial":"04:27:63:F2:3E:50:80","group_id":1}],"accessauths":[]}]} 229 [] false false map[] 0x377acc3e0780 <nil>} [611763.538793 < 0.037103 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: [GIN-debug] [WARNING] Headers were already written. Wanted to override status code 400 with 200 [611763.538793 < 0.000000 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: [GIN] 2026/11/17 - 17:37:19 | 400 | 98.47ms | 192.168.1.158 | GET "/groups" [611763.669605 < 0.130812 >] portal f473mlqpp75ykghyqvrl278rxiaci4zz-start-portal[521]: [GIN] 2026/11/17 - 17:37:19 | 404 | 355ns | 192.168.1.158 | GET "/favicon.ico" ```
Author
Owner

yeah, appearently the problem was having a card registered at all: deleted the card manually and this got resolved

yeah, appearently the problem was having a card registered at all: deleted the card manually and this got resolved
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: malobeo/portal#10