Typically, if the keys are the only thing different between your communities, this sounds like the key wasn't setup correctly. Did you try using the working community's key on the one that isn't working? (Make sure anything unique to the community, like URL restrictions, are added/changed) That would confirm it.