Login problem

Pradeepcs2
At the defining secret key, It is giving error.

I am facing problem in login at the time of secret key .

I am following same step as explained in webinar.

"
api_secret = “167015kief1ondgn4aqhyrybcv1msxue”
File "", line 1
api_secret = “167015kief1ondgn4aqhyrybcv1msxue”
^
SyntaxError: invalid character in identifier

"
My api secret is starting with numeric value. Is it cause of error?

I am getting error even when I put request token and secret key directly as you can see in attached file.


Please suggest me, what is wrong at my end.
Tagged:
  • Kailash
    Kailash edited January 2017
    The quote characters (") you've pasted are non-ASCII. Remove those and insert ASCII quotes using the keyboard please. That should fix the issue.
  • Pradeepcs2
    In [3]: api_secret = “167015kief1ondgn4aqhyrybcv1msxue”
    File "", line 1
    api_secret = “167015kief1ondgn4aqhyrybcv1msxue”
    ^
    SyntaxError: invalid character in identifier


    In [4]: api_secret = 167015kief1ondgn4aqhyrybcv1msxue
    File "", line 1
    api_secret = 167015kief1ondgn4aqhyrybcv1msxue
    ^
    SyntaxError: invalid syntax


    In [5]: api_secret = 167015kief1ondgn4aqhyrybcv1msxue"
    File "", line 1
    api_secret = 167015kief1ondgn4aqhyrybcv1msxue"
    ^
    SyntaxError: invalid syntax
  • Pradeepcs2
    where is ASCII quotes using the keyboard in laptop keyboard. I have used " that is with ' beside Enter key.
  • Kailash
    All 3 instances you pasted above are incorrect.

    First one has non standard quotes. Type " and " using the keyboard.

    Second one is invalid Python, there the quotes are missing altogether!

    Third one is also invalid Python, the first quote is missing.

    Never make your secret key public. Please login to the developer console and regenerate your secret.
  • Pradeepcs2
    how can I regenerate your secret?
  • Pradeepcs2
    Thanks kailash, problem solved.
  • Pradeepcs2
    Pradeepcs2 edited January 2017
    solved
This discussion has been closed.