apache / apache/cloudstack-go

Error to decode RegisterUserKeys

未關閉
#96 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Go
星號
39
分支
47
PR 合併指標
30 天內沒有已合併 PR

描述

![image](https://github.com/user-attachments/assets/1da4d322-8f43-4c16-acd1-4144ab7e0e50)
Hi, i have a error when decode RegisterUserKeys, because response is a string not a map
{"status-code":500,"error-code":"CloudstackApiError","details":"json: cannot unmarshal string into Go value of type cloudstack.RegisterUserKeysResponse"}
![image](https://github.com/user-attachments/assets/b249fe2d-ff63-46e5-bada-d1dfe8b8c4e6)

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先追蹤 RegisterUserKeys 以及 cloudstack.RegisterUserKeysResponse 的解碼過程。重現回報的 500 錯誤,並將字串回應與預期的 map 形式回應進行比較;當回應不再因回報的 unmarshal 錯誤而失敗時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
go
領域
api
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。