0

Explanation of exception codes

Hi, when a use queried the games they are in they got back the following exception codes instead of game/league details.  Is there any documentation on what these error codes represent, or under what circumstances they would be returned?

<?xml version="1.0" encoding="UTF-8"?>
<fantasy_content xml:lang="en-US" yahoo:uri="http://fantasysports.yahooapis.com/fantasy/v2/users;use_login=1/games/leagues/settings" xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" time="77.528953552246ms" copyright="Data provided by Yahoo! and STATS, LLC" xmlns="http://fantasysports.yahooapis.com/fantasy/v2/base.rng">
 <users count="1">
  <user>
   <guid>xxx</guid>
   <games count="0">
    <exceptions>
     <exception>
      <key>107</key>
      <message>Invalid subresource &quot;leagues" requested</message>
     </exception>
     <exception>
      <key>138</key>
      <message>Invalid subresource &quot;leagues" requested</message>
     </exception>
     <exception>
      <key>159</key>
      <message>Invalid subresource &quot;leagues" requested</message>
     </exception>
     <exception>
      <key>178</key>
      <message>Invalid subresource &quot;leagues" requested</message>
     </exception>
     <exception>
      <key>205</key>
      <message>Invalid subresource &quot;leagues" requested</message>
     </exception>
     <exception>
      <key>228</key>
      <message>Invalid subresource &quot;leagues" requested</message>
     </exception>
     <exception>
      <key>241</key>
      <message>Invalid subresource &quot;leagues" requested</message>
     </exception>
     <exception>
      <key>246</key>
      <message>Invalid subresource &quot;leagues" requested</message>
     </exception>
     <exception>
      <key>261</key>
      <message>Invalid subresource &quot;leagues" requested</message>
     </exception>
    </exceptions>
   </games>
  </user>
 </users>
</fantasy_content>

Thanks,
Greg




by
0 Replies

Recent Posts

in Fantasy Sports API