Bug in golang API

api, err := Cloudflare.New(“99999aa6a7bcc1b79e523a8e84ec297ded”, “[email protected]”)

Regardless of what nonsense you put in, there will not be an authentication error. The error is thrown on subsequent API call when you are trying to do something.

Just FYI

This isn’t a bug. When you create a new API client, it doesn’t check the auth.

If there is no possibility of an error, the function signature is incorrect. Seems like a bug to me.

There is a possibility of errors if you incorrectly set options when creating the client.