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

exchange code #24

Open
ad1txx1 opened this issue Oct 20, 2024 · 1 comment
Open

exchange code #24

ad1txx1 opened this issue Oct 20, 2024 · 1 comment

Comments

@ad1txx1
Copy link

ad1txx1 commented Oct 20, 2024

tried to create an exchange code (https://account-public-service-prod.ol.epicgames.com/account/api/oauth/exchange) and im getting this error:

{"errorCode":"errors.com.epicgames.common.missing_permission","errorMessage":"Sorry your login does not posses the permissions 'account:oauth:exchangeTokenCode CREATE' needed to perform the requested operation","messageVars":["account:oauth:exchangeTokenCode","CREATE"],"numericErrorCode":1023,"originatingService":"com.epicgames.account.public","intent":"prod"}

also tried to make a request to this api (https://fngw-mcp-gc-livefn.ol.epicgames.com/fortnite/api/game/v2/profile/fbec52b969644409a011a18851311dd6/client/common_public) but getting the same error

{
"errorCode" : "errors.com.epicgames.common.missing_permission",
"errorMessage" : "Sorry your login does not posses the permissions 'fortnite:profile:accountId:commands ALL' needed to perform the requested operation",
"messageVars" : [ "fortnite:profile:fbec52b969644409a011a18851311dd6:commands", "ALL" ],
"numericErrorCode" : 1023,
"originatingService" : "fortnite",
"intent" : "prod-live"
}

@HyperionCSharp
Copy link
Owner

You are not passing correct permissions through the authorization header the "missing_permission" is the base64 encoded token that allows permissions to see and access those within the scope

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