question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

League API - GetLeaguePositionsAsync() 403 Forbidden

See original GitHub issue

Hello,

I got an “403, Forbidden” when I do this :

return await riotApi.League.GetLeaguePositionsAsync((Region) userGame.Region, userGame.IdSummoner);

userGame.IdSummoner => My encrypted summoner id (-tephjJbG02qRGBQCLoDLam2-HYow7guDfZssEsk2kVLwL0) userGame.Region => My region (EUW)

In another part of my app, I use my dev api key too for Summoner endpoint, and it’s correcly work, so isn’t API key problem.

Can you help me please ?

Cordialy, Bari.

PS : On developer.riotgames.com web site, this call works fine.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Bari77commented, Jan 31, 2020

Ok, so I followed instructions : image any idea ? PS: My bad, i runned in solution folder, not project folder. Can be closed.

0reactions
MingweiSamuelcommented, Jan 31, 2020

The nuget package is unmaintained, but the github repository is maintained.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Question] 403 in GetLeagues() · Issue #598
I keep getting 403, Forbidden when I try to use GetLeagues() in the code as ... League.GetLeaguePositionsAsync((Region)region, summoner.Id);.
Read more >
Getting 403 forbidden with valid API key
403 Forbidden indicates Authentication was successful (otherwise would return 401 unauthorized) but the authenticated user does not have ...
Read more >
403 Forbidden error when using create team Graph API
Hi, I have been using the create team API, it was working fine couple days back, there was no change in permissions or...
Read more >
How do I troubleshoot HTTP 403 errors from API Gateway?
Issue Response header Error messa... Authentication token expired "x‑amzn‑errortype" = "InvalidSignatureException" "Signature e... API key isn't valid "x‑amzn‑errortype" = "ForbiddenException" "Invalid API... AWS WAF filtered "x‑amzn‑errortype"...
Read more >
Getting 403 Forbidden Error on Code that Previously Worked
I currently am trying to access Document Generation API. I have used this same API for months and all of the sudden my...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found