Error in uploading image

  1. Describe the issue briefly
    When i am trying to upload my code on qeats facebook page(Module 2 last command (python3 share_review.py --image Mexican-hot-fudge-sundae-1.jpg --message ‘this is my favorite ice-cream!’)) . I am getting response error code 500.

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

  3. What is your hypothesis?
    I think there is some problem with qeats facebook page permission.


You can also take a look at the screenshot.

Hey,
It shows an error code of 500, this is a server error. It means that server wasn’t able to process your request. Just make sure -

  • Are you sure that you are hitting the correct URL/endpoint?
  • If you are using the correct URL make sure you are passing the parameters correctly.

yes i am passing the parameters correctly.

There is some problem from server side because i am not getting ant option in my qeats app also. Please resolve this problem if you can. it will be a big help.

Okay, i checked your code. Just added a print statement from my side to debug, It’s working fine got a response code of 200

Still getting the same error.
python3 manage.py runserver 0.0.0.0:8081 - i am using this command to run the server.

See it’s working :slight_smile:

yes this command is working but i am not able to upload my picture.
getting status code 500.

second test case is failing.


if it’s a internal problem can u please unlock module 3 for me.

Ahh okay in regard to this test case -

  1. Check if you have done everything properly.
  2. Try to find if you have done any silly errors somewhere

okk i got it just tell me how to reset everything i have done after module 1.
i made some un necessary changes in image_uploader.py. so i need it’s original version.

Can I reset it all and do it again from Module 1? If yes, how ?

thank u very much for the help. it’s done now.

Awesome! Good Luck for future modules :slight_smile: