Fixes #1561, which happened to me even with the API key in the correct format