API and the site in general is currently having issues which might be the causing of that error. I would try again later.