Skip to content

IpamPrefixesAvailableIpsCreate API throws 'json: cannot unmarshal object into Go value of type []*models.IPAddress' error #202

Answered by nutgood
amith-basavaraj asked this question in Q&A
Discussion options

You must be logged in to vote

Hey,

I'm not seeing this error on v4.2.2-2.

You can see my code here: disc_202_test.go

Maybe my approach is wrong but a few questions for you:

  1. What version of the library are you using ?
  2. What's the full error message, seems you trimmed something ?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@amith-basavaraj
Comment options

Answer selected by amith-basavaraj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants