apache / apache/cloudstack-go

Error to decode RegisterUserKeys

Abierto
#96 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
39
Forks
47
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

![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)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by tracing RegisterUserKeys and the decoding of cloudstack.RegisterUserKeysResponse. Reproduce the reported 500 error and compare the string response with the expected map-shaped response; done means the response no longer fails with the reported unmarshal error.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
go
Área
api
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.