Since this question comes up on the top for this search query, I am posting my answer here which MIGHT help someone.
I had DELETED the old app but its API key was still stored in the environment. I had to restart the shell to make it work.