You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that while GenshinImpact has everything working properly, for Star Rail, only the daily API works. Once you can something like hsr.record.records(), hsr.record.characters() etc., you get a HoyoAPIError: param error, note that this does not occur for Genshin with the same cookie.
The text was updated successfully, but these errors were encountered:
It seems that for some reason, this API wrapper needs you to enter more information than necessary for it to function. As an example, you can't initialize let's say HonkaiStarRail or GenshinImpact without using the V1 cookie. The app seems to require both for some reason, yet testing with postman, it only seems like either a V1 cookie or V2 cookie AND the ds value (won't work without it) is enough to access all of these API calls.
Hello, I have exactly the same problem and I think I've found the solution. In fact, the regions in the hsr.interface.js file are wrong. For example, I'm on server Europe and the file says "prod_official_euro" when it's actually "prod_official_eur". And for the USA server, strangely it says "prod_official_asia" when it should be "prod_official_usa" I think. I made the change manually for the Europe server and suddenly everything started working.
It seems that while GenshinImpact has everything working properly, for Star Rail, only the daily API works. Once you can something like
hsr.record.records(), hsr.record.characters()
etc., you get aHoyoAPIError: param error
, note that this does not occur for Genshin with the same cookie.The text was updated successfully, but these errors were encountered: