Animal Facts Configuration API Returns 500 error


Hi, I am trying the Animal Facts Demo. When the Go server putting a request to twitch server to save the “developer” segment configuration, it returns 500 “Internal Server Error”. When i change the segment to “broadcaster”, it returns 204 normally.

The API is called at code

req, err := http.NewRequest("PUT", fmt.Sprintf("", c.clientID), b)