Closed tposejank closed 3 months ago
Hi,
hope this helps
Yeah, I seem to have fixed the issue
Could you help me with something else?
https://events-public-service-live.ol.epicgames.com/api/v2/games/FNFestival/leaderboards/season003_54a2b46e-7fc7-4ec9-869f-e011fd8b41a6/54a2b46e-7fc7-4ec9-869f-e011fd8b41a6_Solo_Vocals/scores?accountId=3554e7171c554bdc8b38edb226fe6b0f&fromIndex=0&findTeams=false
I try accessing this
Using the eg1 token (Bearer eg1) i got, this response
{ "errorCode": "com.epicgames.api.malformed_data", "errorMessage": "com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input\n at [Source: (byte[])\"\"; line: 1, column: 0]" }
I dont recognize this kind of error
you disabled the content length header, so the api doesnt know anything about a body/payload, so it fails to parse it.
Yeah, seem to have got it right after countless attempts! Thanks Lele!
By the way, I can't seem to find docs about the festival leaderboards, would you like if I made some?
np and you dont need to add them, i will eventually add them
Alright
Issue Checklist
What is the Request Method?
POST
What is the Request URL?
https://account-public-service-prod.ol.epicgames.com/account/api/oauth/token
What are your Request Headers (if applicable)?
Authorization: Basic ZWM2ODRiOGM2ODdmNDc5ZmFkZWEzY2IyYWQ4M2Y1YzY6ZTFmMzFjMjExZjI4NDEzMTg2MjYyZDM3YTEzZmM4NGQ=
What are your Request Payload/Body (if applicable)?
None
What is the Response Status Code?
400
What are the Response Headers (if applicable)?
Epic Error Code 1016 errors.com.epicgames.common.oauth.unsupported_grant_type
What is the Response Content? (if applicable)
Additional Context (if applicable)
Hello, i have an issue, I am just trying to obtain an eg1 token at the
https://account-public-service-prod.ol.epicgames.com/account/api/oauth/token
URL I have included thegrant_type
param asauthorization_code
and thecode
param as the one I obtain fromhttps://www.epicgames.com/id/api/redirect?responseType=code&clientId=ec684b8c687f479fadea3cb2ad83f5c6
(logged in) (fortnitePCGameClient id)However, I keep getting a "Malformed grant type in token request" on the response![screenshot from postman](https://github.com/LeleDerGrasshalmi/FortniteEndpointsDocumentation/assets/81495861/af081ad9-d142-4f5c-a64d-6de7f653ac7d)
I don't know if i am missing any steps I also tried the
token_type
eg1
param (described in the docs) with no success (same error)Is there something wrong I am doing? Also, I believe the eg1 token is needed to access
https://events-public-service-live.ol.epicgames.com/
which is what I am trying to do, if it isnt or there is any other recommended way to get this token could you tell me? Like alternate grant types (I couldnt get device auth working too, the required Auth isnt really described well in here, as i got thiserrors.com.epicgames.common.authentication.authentication_failed
error)