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

Error: Address unavailable (code: 0xf1) #86

Open
chriskyfung opened this issue Dec 1, 2023 · 1 comment · Fixed by #87
Open

Error: Address unavailable (code: 0xf1) #86

chriskyfung opened this issue Dec 1, 2023 · 1 comment · Fixed by #87
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@chriskyfung
Copy link
Owner

Bug Description

Error: Address unavailable: https://i.instagram.com/api/v1/feed/reels_media/?reel_ids=16278726 (error code: 0xf1)
    at getInstagramData(bundle:508:11)
    at tryGetStories(bundle:543:16)
    at [unknown function](bundle:789:12)
    at test_pipeline(bundle:788:35)
    at runTestPipeline(code:23:8)

Please note that 16278726 is the user ID of bbcnews.

Symptoms

By changing the value of cookies and copying it from Google Chrome to the Settings page inside the Google Sheet, the problem was fixed. The apps script is now able to retrieve data from Instagram API and works properly with the up-to-date cookie.

Screenshot

Cloud log

@chriskyfung chriskyfung added the bug Something isn't working label Dec 1, 2023
@chriskyfung chriskyfung linked a pull request Jan 1, 2024 that will close this issue
16 tasks
@chriskyfung
Copy link
Owner Author

See also: #45 and #83

chriskyfung referenced this issue Jan 1, 2024
- Renamed the `html` parameter to `data` inside the `tryGetStories()`
  function.
  The new name is more descriptive and accurately reflects the purpose
  of the parameter and help developers to quickly understand the code.

- Added new error codes to identify if the API request returns response
  in HTML instead of JSON:

  * 0xf3
    : Include `not-logged-in` in the HTML content
  * 0xf4
    : Other HTML responses

Bug fixes: #45
@chriskyfung chriskyfung added this to the Library v9 milestone Jan 5, 2024
@chriskyfung chriskyfung mentioned this issue Jan 5, 2024
16 tasks
@chriskyfung chriskyfung self-assigned this Jan 30, 2024
@chriskyfung chriskyfung added enhancement New feature or request javascript Pull requests that update Javascript code labels Feb 6, 2024
@chriskyfung chriskyfung reopened this Feb 6, 2024
@chriskyfung chriskyfung modified the milestones: Library v9, Library v10 Feb 6, 2024
@chriskyfung chriskyfung removed the javascript Pull requests that update Javascript code label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant