Response code 429 in image_uploader.py module 2

  1. Describe the issue briefly
    I am getting response code 429 in Imagae_uploader.py in module 2

  2. How much time have you spent debugging this issue?
    (Please spend at least 15 minutes to resolve the issue on your own before posting a new topic here)
    2

  3. What is your hypothesis?

Can you check your image_uploader.py, You can try printing the resp and see what response you are getting. It will probably give 429: Limit exceeded . Now as the response.status_code != 200 , the default biryani image url https://i.imgur.com/kE2T5uv.jpg is returned from the upload function.You can check it by printing image_url just before the return statement in the upload function.

Yes I am getting 429 and my question is why I am getting it?

Make sure your data format contains some parameter related to post the image

are you talking about ‘request_body’ in image_uploader.py

When you don’t make the API definition properly, that default image is uploaded.

Hey since, you are in 3rd module, I am closing this ticket