error code 420
See original GitHub issueI try to get a token with:
let token = airbnb.newAccessToken({username:'user', password:'password'})
and I get this error msg:
{ error_code: 420,
error: 'unknown_error',
error_message: 'Unable to perform action. Please try again through the website or contact support if you need immediate assistance.',
client_error_info:
{ airlock:
{ action_name: 'account_login',
completion_redirect_url: '',
error_redirect_url: '',
escapable: true,
fallback_friction: 'contact_us_form',
first_name: 'xxxxx',
flow: 'captcha_flow',
friction_data: [Object],
header_text: 'Please verify yourself',
id: 12345678,
identifier: null,
keep_webview_open_on_redirect: false,
redux: true,
status: 0,
should_replay_request: true,
user_id: 876654321,
user_message: null },
metadata: {} } }
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:89 (10 by maintainers)
Top Results From Across the Web
P0420 Code: What It Is and How to Fix It - Way
A P0420 code indicates that your vehicle's computer (PCM) has detected a problem with the catalytic converter. The catalytic converter's function is to ......
Read more >P0420 OBD-II Trouble Code: Catalyst System Efficiency Below ...
A P0420 code indicates a problem with the catalytic converter. The purpose of the catalytic converter is to break down harmful pollutants created...
Read more >420 Enhance your calm - Evert Pot
The 420 Enhance Your Calm status code is an unofficial extension by Twitter. Twitter used this to tell HTTP clients that they were...
Read more >Why do I get an error with code 420 when sending ... - Xeams
This error is generated by Xeams if it detects a dictionary attack. In such cases, Xeams will block the IP address of the...
Read more >12 Ways to Fix the Error Code 420 on HBO Max - Saint
Usually, this problem is caused by faulty HBO Max servers or unstable network connections. However, corrupted files and outdated software could also be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve tried using mitmproxy to intercept the Android app and so far this is what I get (this may be a repeat of previous info but I just wanted to keep it all clear)
Request: Handled by airbnbapi already
Response:
Out of this,
client_error_info.airlock.id
(Airlock ID) andclient_error_info.airlock.user_id
is important.Request:
Response: Similar to response in 1. above. HTTP Code 200
Request:
Response: Similar to 1. above. HTTP Code 200
Request: Handled by airbnbapijs already
Response:
From this, the noteworthy point is their use of PUT instead of POST or GET for airlock. That could explain some of the errors above. I’m sorry if anything’s repeated here 😃
I just completed an airlock verification via the web interface and sniffed the traffic, maybe this will help implement the verification?