Maltego invaled API

I am just starting to learn to use Maltego and have made an account.
Whenever I try run a transform on a domain it says that I have an
invalid API key but when I log in again and try again the window pops up
again stating I have an invalid API key.