title: Steam Api: Queries not always working
body: <p>I'm working with Steam Api and using this code to send queries the steam server, where $url is the query </p>
  
  <pre><code>$channel = curl_init();
  curl_setopt($channel, CURLOPT_URL, $url);
  curl_setopt( $channel , CURLOPT_RETURNTRANSFER , true );
  $result = json_decode( curl_exec( $channel ), true );
  curl_close($channel);
  </code></pre>
  
  <p>However, it only works about 50% of the time. The other half the time I get the error </p>
  
  <blockquote>
    <p>Rejecting request for slow asset API server. 150 pending of 150
    allowed</p>
  </blockquote>
  
  <p>An example query I use is :</p>
  
  <blockquote>
    <p><a href="http://api.steampowered.com/ISteamEconomy/GetAssetPrices/v0001/?key=" rel="nofollow">http://api.steampowered.com/ISteamEconomy/GetAssetPrices/v0001/?key=</a>$SOME_API_KEY&amp;appid=440&amp;format=json</p>
  </blockquote>
  
  <p>When the query goes through, I get all the correct data back.</p>
  
  <p>Also, I have a similar problem when I specifically use the query GetAssetClassInfo() where I have to pass a list of class ids. Sometimes it works but other times it says </p>
  
  <blockquote>
    <p>Unable to get appearance for app 440 classID 16891096 instanceID 0</p>
  </blockquote>
  
  <p>Does any know what my problem is? Thanks for any help.</p>