Jump to content
Sign in to follow this  
Forgotten Hero

Matches endpoint problems

Recommended Posts

I'm having trouble accessing some matches via Javascript. I've tried both Ajax and fetch. It appears that some matches can be obtained without issue, but others give a "blocked by CORS Policy" error. So I decided to enter one of these trouble matches into the documentation.pubg.com site itself and it also shows an error: "Code undocumented: TypeError: Failed to fetch." These same matches return a valid response when retrieved with Curl.


Here are my recent matches that return the error (on xbox):










A sample url would be:



I feel like this is some sort of known issue with requesting with Ajax or fetch, because the Pubg stat websites I visit frequently are able to show me these matches, so I imagine they must be using a different approach.

Share this post

Link to post
Share on other sites

I've actually found that changing to the steam shard still returns the matches from xbox, and does not give any errors that I am running into with the xbox shard. I can't put my finger on why some xbox shard matches return a proper response, and others return an error.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this