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

Not working shop #126

Open
zlyyy0 opened this issue Sep 24, 2024 · 1 comment
Open

Not working shop #126

zlyyy0 opened this issue Sep 24, 2024 · 1 comment

Comments

@zlyyy0
Copy link

zlyyy0 commented Sep 24, 2024

Fetching shop for zlyyy#salam...
Assertion failed: Valorant skins offers code is 405! {
statusCode: 405,
headers: {
date: 'Tue, 24 Sep 2024 17:38:41 GMT',
'content-type': 'text/plain; charset=utf-8',
'content-length': '19',
connection: 'keep-alive',
vary: 'Origin',
'x-content-type-options': 'nosniff',
'cf-cache-status': 'DYNAMIC',
server: 'cloudflare',
'cf-ray': '8c848cb2dae3c077-WAW'
},
body: 'Method Not Allowed\n'
}
SyntaxError: Unexpected token 'M', "Method Not Allowed
" is not valid JSON
at JSON.parse ()
at getShop (file:///C:/Users/Kacper/Desktop/SkinPeek-master/valorant/shop.js:38:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async getOffers (file:///C:/Users/Kacper/Desktop/SkinPeek-master/valorant/shop.js:69:18)
at async fetchShop (file:///C:/Users/Kacper/Desktop/SkinPeek-master/valorant/shopManager.js:15:16)
at async Client. (file:///C:/Users/Kacper/Desktop/SkinPeek-master/discord/bot.js:672:37)

@ConnorDoesDev
Copy link

Riot has changed the public endpoint as far as I know. Not sure tho.
Just wait till the public documentation updates if you dont wanna check for the new one yourself

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

2 participants