resolved-bot icon indicating copy to clipboard operation
resolved-bot copied to clipboard

[BUG]: "unknown network error" when attempting to get reservation

Open zrabin opened this issue 1 year ago • 4 comments

Is there an existing issue for this bug?

  • [X] I have searched for this issue

Description of the bug

When attempting to get a reservation (e.g. rats -v 2038 -resD 2024:02:18 -resT 20:00 -ps 2 -reqD 2024:02:07:22:2), the attempt fails and the result is "unknown network error"

Steps to reproduce

  1. Create reservation request via the rats command
  2. Wait for the reqD time to pass

System Specs

N/A

Additional Context

No response

zrabin avatar Feb 08 '24 03:02 zrabin

@zrabin I'll look into this. Before I can do that though, I need to know which restaurant corresponds to venue ID 2038?

21Bruce avatar Feb 08 '24 14:02 21Bruce

@21Bruce Thanks for the quick response. Venue ID 2038 refers to Diner: https://resy.com/cities/ny/diner?date=2024-02-08&seats=2

zrabin avatar Feb 08 '24 15:02 zrabin

I am having the exact same error. I have logged in as well. My command is: rats -v 6410 -resD 2024:02:26 -resT 19:00 -reqD 2024:02:22:23:12 -ps 2, which corresponds to: https://resy.com/cities/ny/mala-project-east-village?date=2024-02-26&seats=2

Has this been confirmed to be working previously? Thank you!

kevinzhao07 avatar Feb 23 '24 04:02 kevinzhao07

@kevinzhao07 @zrabin Both me and the other dev have been really busy with school stuff the past two weekends. I'm unsure what's causing this new bug, could be resy using captcha or a bug in the new table type code. Either way, I think you guys should try cloning an older version of the bot. I think commit 60e88dd1e92d5a023485ee04f84b521b187e223e should be working if it were an issue with the table type code. If you try this and it doesn't work, then I'd really have to sit down and analyze the network response from the api layer

21Bruce avatar Feb 23 '24 14:02 21Bruce