title: InstagramAPI posting error 429, 400
body: <p>I recently installed the python <a href="https://github.com/LevPasha/Instagram-API-python/" rel="nofollow noreferrer">InstagramAPI</a>, and I tried posting an image to my acccount, when I run the program, this is displayed.</p>
  
  <blockquote>
    <p>Request return 429 error!<br>Login success!</p>
    
    <p>Request return 400 error!</p>
  </blockquote>
  
  <p>And the image doesn't post. My code is below, can anyone offer any advice/help/alternative code? </p>
  
  <pre><code>#import imageio
  #imageio.plugins.ffmpeg.download()
  from InstagramAPI import InstagramAPI
  user,pwd = 'testUser', 'iStillThinkPasswordIsTheBestPassword'
  
  InstagramAPI = InstagramAPI(user,pwd)
  InstagramAPI.login() # login
  
  photo_path ='C:/Users/ted67/Important/Untitled.png'
  caption    = "Testing web automation. Don't mind this."
  InstagramAPI.uploadPhoto(photo_path, caption = caption)
  </code></pre>