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

Did the API stop working? 404 "Unfortunately, this is no longer available." #33

Open
kurumbus opened this issue Aug 25, 2019 · 9 comments

Comments

@kurumbus
Copy link

Starting yesterday I started getting this response, am I the only one?
2019-08-25_09h30_10

    "error_code": 404,
    "error_type": "record_not_found",
    "error_message": "Unfortunately, this is no longer available.",
    "error_id": "02325c724e1b48ea5b2d870bd9908085"
}```
@pbvillaflores
Copy link

If you have an existing token it still works.

@kurumbus
Copy link
Author

@pbvillaflores I'm a little bit confused, why api_key is hardcoded in src/config.js?

image

@kurumbus
Copy link
Author

Oh, it's related to this #3

@kurumbus
Copy link
Author

And it uses the same token when I do it in the browser

2019-08-25_10h42_48

@pbvillaflores
Copy link

That api key has been working well so I think that's not a concern.

I also get the same key value as you have shown in your screenshot.

The auth token is a different value. It is a substitute for your login credentials. You get one by calling airbnb.newAccessToken() function but this does not seem to work anymore.

@kurumbus
Copy link
Author

I managed to get search results by quering https://www.airbnb.com/api/v2/explore_tabs instead of search_results, but it has really confusing structure

@drpaulfarrow
Copy link

Also not getting any results...

@kurumbus
Copy link
Author

You can get search results if you query this for example:
https://www.airbnb.com/api/v2/explore_tabs?api_key=d306zoyjsyarp7ifhu67rjxn52tv0t20&location=Paris

But in the response, json structure is rather difficult to parse. So I'm not sure it's viable

@dSurprenant
Copy link

dSurprenant commented Sep 21, 2019

Here's a hint to parse the response

yourResults.explore_tabs[0].sections[*].listings

*= 0 to 2 depending on the type of listing

image

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

4 participants