Forum Discussion
38 Replies
- EA_Aljo13 days ago
Community Manager
Hello. I'm not able to reproduce this. Does it also happen if you use an incognito browser? I'm curious if it's cache/cookies related.
- par_metra15 days agoNew Vanguard
Hello!
I have encountered an issue on the EA NHL Pro Clubs statistics page (https://www.ea.com/games/nhl/nhl-26/pro-clubs/rankings). The styles appear to be broken. The text is present in the layout, but it is not displayed correctly.
Could you please check and fix this issue?
- EA_Aljo1 month ago
Community Manager
Hey. I'm looking into this for you. I'll let you know when I have some news. Thanks!
- p0tvin29291 month agoSeasoned Novice
Hey sorry I didnt see your reply until now. One of the API URL I use is:
https://proclubs.ea.com/api/nhl/clubs/search?platform=common-gen5&clubName=M%20E%20N
I just started seeing Access Denied again when trying to get these with my web server but it works fine in POSTMAN with the same headers... can anyone provide headers that are currently working for them?
- EA_Aljo6 months ago
Community Manager
Edit: Disregard that API URL request since the workaround you all are using appears to resolve this.
Hey, everyone. Can you give me the API URL you're using to pull the stats? Thanks!
- Nesb06 months agoNew Novice
Just tried these headers and can confirm it works on my end too! Awesome stuff.
- p0tvin29296 months agoSeasoned Novice
Nice! We should create a discord group for us developers to help each other out 😉
That got it running for me as well. Seems like the Accept-Language and Connection headers are the keys ( at least for me ). Nice work!
- p0tvin29296 months agoSeasoned Novice
Finally got it working!
I got it working with these headers below. Hopefully it helps you guys out too.
$headers = ["Cache-Control: no-cache", "Content-Type: application/json", "User-Agent: PostmanRuntime/7.46.0", "Accept: application/json", "Accept-Language: en-US,en;q=0.5", "Connection: keep-alive"];You might need this as well in headers:
Accept-Encoding: utf8
- p0tvin29296 months agoSeasoned Novice
I never used headers at all and it just worked. It was just a simple curl GET request and got the JSON response from the EA API. Thanks for sharing the headers, I had similar headers but I tried yours and same result (Access Denied) on Linux Ubuntu... So frustrating ..
Below was my CURL request that worked for years until now..
$url = "https://proclubs.ea.com/api/nhl/clubs/search?platform=common-gen5&clubName=M%20E%20N"; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'GET'); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($curl); $status = curl_getinfo($curl, CURLINFO_HTTP_CODE); curl_close($curl); Results >> Access Denied You don't have permission to access "http://proclubs.ea.com/api/nhl/clubs/search?" on this server. Reference #18.94a12b17.1759595149.8197e3ca https://errors.edgesuite.net/18.94a12b17.1759595149.8197e3caI'm pretty good at troubleshooting these issues but this one really doesn't make sense when it works on my chrome browser (Linux) but not with my PHP CURL request or POSTMAN. Works for your Linux but not Windows .. So confusing.
Thanks
Featured Places
NHL 26 General Discussion
Join the community forums and discuss the latest news and game information around NHL 26.Latest Activity: 4 minutes agoCommunity Highlights
- EA_Aljo7 months ago
Community Manager