This is not a bug. SC II api was discontinued, at least for now.
For more details please read this post.