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

Target API calls fail #131

Closed
rareheirs opened this issue Aug 28, 2022 · 1 comment
Closed

Target API calls fail #131

rareheirs opened this issue Aug 28, 2022 · 1 comment

Comments

@rareheirs
Copy link

Describe the bug
Target stock alert fails due to API call being invalid. See Error log below. It seems that the API call to resky.target.com does not have valid key-values. It's possible that an earlier call which was needed to populate these is not resolving. When entering the API call directly through my browser, I see that they return Server 502 or Forbidden errors.

Logs and Screenshots
Please upload any related logs from the logs folder.
If available, upload the html file related to the bug from the log folder.
If applicable, upload config.json from the config folder.
If applicable, add screenshot of the console to help explain your problem.

[ERROR] 01:43:25: pm: Error getting page for url: https://api.target.com/shipt_deliveries/v1/stores?zip=98052&key=9f36aeafbe60771e321a7cc95a78140772ab3e96.
[ERROR] 01:43:25: pm: Error getting page for url: https://redsky.target.com/redsky_aggregations/v1/web/pdp_fulfillment_v1?key=9f36aeafbe60771e321a7cc95a78140772ab3e96&tcin=undefined&has_store_positions_store_id=false&store_id=undefined&store_positions_store_id=undefined&scheduled_delivery_store_id=undefined&pricing_store_id=undefined.
[ERROR] 01:43:25: pm: Error occured for TARGET while checking url:
Writing HTML to logs/targetErrorPage.html.
This is usually not a problem but if this error appears frequently, please report the error with the log and html files to GitHub.

Platform Information

  • OS: [e.g. Windows 10]
  • Node version node -v: [e.g. v14.15.2]

Additional context
Add any other context about the problem here.

@Prince25
Copy link
Owner

Prince25 commented Feb 3, 2025

I know this is super late but it's been fixed in 628496f. 😅

@Prince25 Prince25 closed this as completed Feb 3, 2025
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

2 participants