giorgi-o / SkinPeek

Awesome Valorant Discord bot to see your daily shop, night market, battlepass progression, and much more
GNU General Public License v3.0
218 stars 89 forks source link

Assertion failed: Valorant skins prices code is 400! #119

Closed TTiole closed 3 months ago

TTiole commented 3 months ago

Here's the resulting response from the request:

{
  statusCode: 400,
  headers: {
    date: 'Tue, 18 Jun 2024 23:15:01 GMT',
    'content-type': 'application/json',
    'content-length': '111',
    connection: 'close',
    vary: 'Origin',
    'cf-cache-status': 'DYNAMIC',
    server: 'cloudflare',
    'cf-ray': '895efa9b394b510e-MSP'
  },
  body: '{\n' +
    '    "httpStatus":  400,\n' +
    '    "errorCode":  "INVALID_HEADERS",\n' +
    '    "message":  "Bad headers used for request"\n' +
    '}'
}

This doesn't seem to be caused by the cloudflare captcha issue I read elsewhere. What can I do to solve this?

xMasa-1022 commented 3 months ago

i think it might be occurred by changed updated riot client's version key

TTiole commented 3 months ago

Ah, you're correct. I was 20 commits behind master. Getting the latest changes fixed the issue