• Categories
  • Popular
  • Dev Tracker
Skins
  • Default (The Show 25)
  • No Skin
  • The Show 23
  • Dark
  • The Show 24
  • The Show 25
Collapse
THESHOW.COM
Game Game Support Support My Account My Account

Community Forum

@SDS API Cors Policy Issues

Scheduled Pinned Locked Moved Websites
4 Posts 2 Posters 2.9k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dubiouscentaur_PSND Offline
    dubiouscentaur_PSND Offline
    dubiouscentaur_PSN
    wrote on last edited by dubiouscentaur_PSN
    #1

    hello - i'm trying to make a personal site to track some data from the api but i keep getting errors:

    [Error] Origin http://localhost:4200 is not allowed by Access-Control-Allow-Origin. Status code: 200
    [Error] XMLHttpRequest cannot load https://mlb24.theshow.com/apis/listing.json?uuid=xxxx due to access control checks.

    From my research it sounds like the api should be returning appropriate headers such as Access-Control-Allow-Origin: * but the show api returns none.

    "The response headers show that the server is not including the Access-Control-Allow-Origin header, which is necessary for browsers to allow requests from different origins (such as your Angular application running on localhost:4200). Without this header, modern browsers will block the request due to CORS policy restrictions.

    To resolve this issue, need to configure the server to include the Access-Control-Allow-Origin header in its responses."

    1 Reply Last reply
    0
  • dubiouscentaur_PSND Offline
    dubiouscentaur_PSND Offline
    dubiouscentaur_PSN
    wrote on last edited by
    #2

    anyone? i've looked into this a ton and it seems like a simple fix from the api end?

    1 Reply Last reply
    0
  • Pat_SDS_MLBTSP Offline
    Pat_SDS_MLBTSP Offline
    Pat_SDS_MLBTS SDS
    wrote on last edited by
    #3

    We are currently not allowed to enable CORS for other domains.

    To use the APIs, please use any server side scripting languages like PHP, Ruby, NodeJS.

    1 Reply Last reply
    0
  • dubiouscentaur_PSND Offline
    dubiouscentaur_PSND Offline
    dubiouscentaur_PSN
    wrote on last edited by
    #4

    ok thanks for the reply.

    1 Reply Last reply
    0
  • Pat_SDS_MLBTSP Pat_SDS_MLBTS locked this topic on

X Instagram Facebook YouTube Twitch Discord TikTok
Major League Baseball Players Association Major League Baseball Sony Interactive Entertainment PlayStation Studios San Diego Studio ESRB ESRB Certificate
Terms of Use Privacy Policy TheShow.com Community Code of Conduct MLB The Show Online Code of Conduct MLB The Show Games

“PlayStation Family Mark”, “PlayStation”, “PlayStation Studios logo”, “PS5 Logo”, and “Play Has No Limits” are registered trademarks or trademarks of Sony Interactive Entertainment Inc. ©2026 Sony Interactive Entertainment LLC. MLB and MiLB trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com. Officially Licensed Product of MLB Players, Inc. MLBPA trademarks, copyrighted works and other intellectual property rights are owned and/or held by MLBPA and may not be used without the written consent of MLBPA or MLB Players, Inc. Visit MLBPLAYERS.com, the Players Choice on the web. The Baseball Hall of Fame and Museum trademarks and copyrights are used with permission of the National Baseball Hall of Fame and Museum, Inc., as applicable. Visit the official website of the Hall of Fame at BaseballHall.org. Official Licensee-Major League Alumni Marketing, Inc. © MLAM. Officially Licensed by the Negro Leagues Baseball Museum, Inc. Kansas City, MO. Stubs is a registered trademark or trademark of Sony Interactive Entertainment LLC. Nintendo Switch is a trademark of Nintendo. All other trademarks are the property of their respective owners.

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Popular
  • Dev Tracker
  • Login

  • Login or register to search.