Hi just trying to setup up new brick Owl store and pull my bricklink inventory over with Brick Sync however I am getting the following Error: Expected a string litteral for assignment at line 10, offset 24
I think I have figured out the line it is in the bricksync.conf txt document:
// Do we want to automatically check for orders regularly? Otherwise, user has to type "check".
autocheck = 1;
It would seam my problem is here, but I don't know for sure
Any help would be greatly Appreciated.
Comments
On lines 10-13 you have to put your Bricklink API keys and tokens.
// Do we want to automatically check for orders regularly? Otherwise, user has to type "check".
autocheck = 1;
// BrickLink configuration
bricklink.consumerkey = 2F;
bricklink.consumersecret = 0A...;
bricklink.token = 3...;
bricklink.tokensecret = 3976E...;
// Time in seconds between automated order checks, after a failed query and after a successful one
bricklink.failinterval = 300;
bricklink.pollinterval = 600;
// BrickOwl configuration
brickowl.key = ao...;
// Time in seconds between automated order checks, after a failed query and after a successful one
brickowl.failinterval = 300;
brickowl.pollinterval = 600;
Every variable that is a number should NOT have double quotes around it. Everything that is not a number should have. For example:
brickowl.failinterval = 300;
bricklink.consumerkey = "2FXXXXXXXXXXXXXXXXXXXXX";
Also, every line should have a semicolon at the end (except comments, but those don't matter).
You're probably better off getting an unmodified version to get a clean start, and try again. And this time pay special attention to not remove any " or ;
http/1.1 200 ok
server: nginx/1.12.2
date: fri, 08 mar 2019 04:18:45 gmt
content-type: text/html;charset=utf-8
content-length: 150
connection: keep-alive
==== DATA ====
{"meta":{"description":"TOKEN_IP_MISMATCHED: consumer: 2............9 IP: 154.81.198.126","message":"BAD_OAUTH_REQUEST","code":401}}
==== END ====
Is the ip mentioned in error what I am suppose to have in BL API?