Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

account.update_profile_info Error >404 Sorry, that page does not exist, Error code 34 #241

Open
vakandi opened this issue Dec 27, 2024 · 1 comment

Comments

@vakandi
Copy link

vakandi commented Dec 27, 2024

Hi

I started experienced this error a few weeks ago, and since, the account.update_profile_info function doesnt work anymore, i checked, twitter API did not change the endpoint of the params, so the request is perfectly executed,

While testing, i notice i could make the same request using a x-client-transaction-id in the header, but without it, it always return error 404

{"errors":[{"message":"Sorry, that page does not exist","code":34}]}

So i was wondering is there a method to bypass this x-client-transaction-id or generate it ? since it seems to be the one causing the error

Some guy coded a x-client-transaction-id generator in Go, but i don't get the code :
https://github.com/yeyuchen198/twitter-tid-generator
Or i guess i should reverse engineer the this javascript : https://abs.twimg.com/responsive-web/client-web/main.bfe3e92a.js which apparently take care of generating the x-client-transaction-id on the twitter pages.

If someone have the same issues, or solutions, please comments here

@vakandi
Copy link
Author

vakandi commented Dec 27, 2024

I also test the headers from the library twitter-api-client to see the difference between the changing of profile banner or profile picture and the update profile infos, since all three kind of have the same request logic

And i found out the update_profile_info function have different header than update_profile_banner:

Those variables are absent from update_profile_info request :

guest_id_marketing=v1%3A173529618947983355;
guest_id_ads=v1%3A173529618947983355;
personalization_id="v1_TewWGu7tBf63PVlYD3ObpQ==";
guest_id=v1%3A173529618947983355

But present on update_profile_banner and update_profile_image, so its maybe the issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant