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 downloading, server replied Bad Request #18

Open
jamescostian opened this issue Dec 29, 2014 · 0 comments
Open

Error downloading, server replied Bad Request #18

jamescostian opened this issue Dec 29, 2014 · 0 comments

Comments

@jamescostian
Copy link

$ sudo makemeasandwich
Logging in.
Navigating to https://online.jimmyjohns.com/#/login
Viewport set to: 1920x1080
ERROR: Error downloading https://online.jimmyjohns.com/api/Order/?orderId=current - server replied: Bad Request
Element #email found
prompt: email:  
/usr/local/lib/node_modules/makemeasandwich/lib/makemeasandwich.js:38
      value = result[paramName];
                    ^
TypeError: Cannot read property 'email' of undefined
    at /usr/local/lib/node_modules/makemeasandwich/lib/makemeasandwich.js:38:21
    at /usr/local/lib/node_modules/makemeasandwich/node_modules/prompt/lib/prompt.js:316:20
    at /usr/local/lib/node_modules/makemeasandwich/node_modules/prompt/node_modules/utile/node_modules/async/lib/async.js:136:21
    at assembler (/usr/local/lib/node_modules/makemeasandwich/node_modules/prompt/lib/prompt.js:282:18)
    at /usr/local/lib/node_modules/makemeasandwich/node_modules/prompt/lib/prompt.js:322:20
    at /usr/local/lib/node_modules/makemeasandwich/node_modules/prompt/lib/prompt.js:510:14
    at onError (/usr/local/lib/node_modules/makemeasandwich/node_modules/prompt/node_modules/read/lib/read.js:94:12)
    at Interface.<anonymous> (/usr/local/lib/node_modules/makemeasandwich/node_modules/prompt/node_modules/read/lib/read.js:66:5)
    at Interface.emit (events.js:92:17)
    at Interface._ttyWrite (readline.js:621:16)

It continues to ask me for my email even though it said

ERROR: Error downloading https://online.jimmyjohns.com/api/Order/?orderId=current - server replied: Bad Request

Is this error a known issue? Is it something that can safely be ignored? Seeing this error made me think that Jimmy John's has changed their site and that maybe the code needs to be changed, which is why I'm reporting this.

FWIW, here's some information about my system:

$ node -v
v0.10.35
$ uname -srpo
Linux 3.16.0-28-generic x86_64 GNU/Linux
$ lsb_release -sd
Ubuntu 14.10
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

1 participant