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

Run into a pureconfig.error.ConfigReaderException at lines for snipeTime when running with CL #123

Open
maryjosephine11 opened this issue May 14, 2023 · 2 comments

Comments

@maryjosephine11
Copy link

Here is what I have the snipe time set to in the config file:

#############
# SnipeTime #
#############
# Hour of the day when reservations become available and when you want to snipe
# e.g.
# snipeTime.hours=9
snipeTime.hours=19
# Minute of the day when reservations become available and when you want to snipe
# e.g.
# snipeTime.minutes=0
snipeTime.minutes=0

and this is the error I get when I run in CL:

  • (resyConfig.conf @ jar:file:/Users/mjajiduah/Desktop/resy-booking-bot-master/target/bg-jobs/sbt_a29d313a/job-5/target/b79fbb0d/1231b0bf/resy-booking-bot_2.13-HEAD+20230513-2206.jar!/resyConfig.conf: 60) Unable to parse the configuration: List should have ended with ] or had a comma, instead had token: '=' (if you want '=' to be part of a string value, then double-quote it).

I'm not sure why this error is occurring, especially since the syntax isn't wrong for parsing and my api keys are correct. I have a feeling it may just be the particular restaurant I'm working with, but not sure

@openchampagne
Copy link

How does your resDetails.res-time-types look?

@jaipalsilla
Copy link

jaipalsilla commented Jun 14, 2023

you need to put a [] for the res-times variable (empty brackets)

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

3 participants