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

why is that???? : fetch FetchError: invalid json response body at http://95.179.236.23/V1/battlesruleset?ruleset=Silenced%20Summoners%7CTaking%20Sides&mana=26&player=GANG-JIAN-WANG&token=undefined&summoners=[167,440,178,437,156,224,441] reason: Unexpected token < in JSON at position 0 #108

Open
Brmxj001 opened this issue Feb 10, 2022 · 0 comments

Comments

@Brmxj001
Copy link

API call: http://95.179.236.23/V1/battlesruleset?ruleset=Silenced%20Summoners%7CTaking%20Sides&mana=26&player=GANG-JIAN-WANG&token=undefined&summoners=[167,440,178,437,156,224,441]
fetch FetchError: invalid json response body at http://95.179.236.23/V1/battlesruleset?ruleset=Silenced%20Summoners%7CTaking%20Sides&mana=26&player=GANG-JIAN-WANG&token=undefined&summoners=[167,440,178,437,156,224,441] reason: Unexpected token < in JSON at position 0
at /Users/wangxiaobo/order/splinterlands/splinterlands-bot-master/node_modules/_node-fetch@2.6.7@node-fetch/lib/index.js:273:32
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async battlesFilterByManacap (/Users/wangxiaobo/order/splinterlands/splinterlands-bot-master/possibleTeams.js:99:21)
at async Object.possibleTeams (/Users/wangxiaobo/order/splinterlands/splinterlands-bot-master/possibleTeams.js:174:25)
at async startBotPlayMatch (/Users/wangxiaobo/order/splinterlands/splinterlands-bot-master/index.js:455:31)
at async run (/Users/wangxiaobo/order/splinterlands/splinterlands-bot-master/index.js:607:9)
at async startSingle (/Users/wangxiaobo/order/splinterlands/splinterlands-bot-master/main.js:83:5)
at async /Users/wangxiaobo/order/splinterlands/splinterlands-bot-master/main.js:93:9 {
type: 'invalid-json'
}

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