question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why can't i get  object user ?

See original GitHub issue

Hi, can you help me? Why does not it work?

code

from TikTokApi import TikTokApi
api = TikTokApi() 
tiktoks = api.byUsername('donelij')
print(tiktoks)
for tiktok in tiktoks:
    print(tiktok) 

error

`https://m.tiktok.com/api/user/detail/?uniqueId=donelij&language=en&verifyFp=verify_kdf52cly_U2LFCuwM_JFHm_4Fk3_8l68_fGaEzZPtjX4a&_signature=_02B4Z6wo00f01zGrCoQAAIBAWvEwRGVyrasxqy4AAJNLc1 Converting response to JSON failed response is below (probably empty)

Traceback (most recent call last): … raise Exception(‘Invalid Response’) Exception: Invalid Response`

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
davidteathercommented, Aug 6, 2020

Your code is correct for getting TikToks, but there is an issue with your installation. What happens when you run chromedriver in terminal?

1reaction
davidteathercommented, Aug 5, 2020

Does your script work for other users? The library is working for me to return that user.

What happens when you run

chromedriver

in a console? If there’s errors doing that fix them

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't add user or object to directory service - Windows Server
Windows cannot create the new user object because the name username is already in use. Select another name, and try again. Error message...
Read more >
Get user object using userid in django - Stack Overflow
Use simple .get() query. try: uid = request.session['mid'] userobj = User.objects.get(id=uid) except User.DoesNotExist: #handle case when ...
Read more >
Active Directory User Object: An Introduction
In this article, we will take a look at what an Active Directory user object is, what are its properties, and how you...
Read more >
Resolve Permission and Object-Level Access Errors
Missing or incorrect object and user permissions can cause Insufficient Privileges errors. You can troubleshoot this type of error by checking profile and ......
Read more >
Can't get information of an user object · Issue #608 - GitHub
I am trying to get data (name;email) of all users from a group (cn=NEWS) in an AD. My search query looked like this:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found