'Why am I unable to authenticate via Tweepy?

Newbie coder having issues authenticating via tweepy. below is the code.

import tweepy
access_token=""
access_token_secret=""
api_key=""
api_secret_key=""

auth = tweepy.OAuthHandler("API_KEY","API_SECRET_KEY")
auth.set_access_token("ACCESS_TOKEN","ACCESS_TOKEN_SECRET")
api = tweepy.API(auth)

if api.verify_credentials() == False:
    print("The user credentials are invalid.")
else:
    print("The user credentials are valid.")


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source