py4e icon indicating copy to clipboard operation
py4e copied to clipboard

Python for Everybody/API Assignment won't grade

Open FredShimfessel123 opened this issue 3 months ago • 11 comments

Hello, I've completed the API(JSON/Plus Code) assignment exactly as shown in course, but the grader keeps failing because of the endpoint. always returns REQUEST DENIED.

My code matches the course template, and Dr, Chucks key = 42 no longer works. Could you please manually mark the assignment complete? Or give further instructions. I'm pulling my hair out all afternoon.

Thank you!

Fred Shimfessel

FredShimfessel123 avatar Oct 05 '25 21:10 FredShimfessel123

Hi @FredShimfessel123 please share screenshot

pravintargaryen avatar Oct 06 '25 02:10 pravintargaryen

Here it is

Image

FredShimfessel123 avatar Oct 06 '25 10:10 FredShimfessel123

Hi @FredShimfessel123,

Please try to follow this program's pattern

http://www.py4e.com/code3/opengeo.py

Also as mentioned in the assignment page

Make sure to retreive the data from the URL specified above and not the normal Google API. Your program should work with the Google API - but the plus_code may not match for this assignment.

I don't think we need any keys (Chucks key = 42) for this assignment.

Hope this helps.

pravintargaryen avatar Oct 07 '25 03:10 pravintargaryen

Now tell me what is wrong with it. I think the grader is flawed. I have spend hours doing this.

Image

FredShimfessel123 avatar Oct 07 '25 10:10 FredShimfessel123

Hi @FredShimfessel123, I could see that you are getting the JSON data from the API.

But it seems that the JSON screenshot shown is for "Penn State University".

Please try with "Kalamazoo College" instead as mentioned in the assignment and do let me know if you still get any errors.

pravintargaryen avatar Oct 08 '25 02:10 pravintargaryen

I will try it but the grader said Penn State. I'm getting frustrated now. It is your graders problem. Why should I keep dedicating hour after hour when the error is on you guys? I want to advance to course 4. But I can't until I pass course 3. 99 percent of the course is passed. This the barrier and I think this is extremely unfair to me. I will try Kalamazoo College but the grader won't take it because the assignment gave me Penn State University. The program works thanks to your help. I think Dr. Chuck needs to get his mojo working again and fix this problem.  On Tuesday, October 7, 2025 at 10:23:12 PM EDT, pravintargaryen @.***> wrote:

pravintargaryen left a comment (csev/py4e#466) Hi @FredShimfessel123, I could see that you are getting the JSON data from the API.

But it seems that the JSON screenshot shown is for "Penn State University".

Please try with "Kalamazoo College" instead as mentioned in the assignment and do let me know if you still get any errors.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

FredShimfessel123 avatar Oct 08 '25 07:10 FredShimfessel123

Here it is. I'm sorry I'm getting so punchy.

Image

FredShimfessel123 avatar Oct 08 '25 08:10 FredShimfessel123

Hi @FredShimfessel123,

I guess you are taking the Cousera version of the course. If you can share the assignment requirements here, I might take a look.

pravintargaryen avatar Oct 08 '25 14:10 pravintargaryen

@FredShimfessel123 we generally do not help students using github issues. @pravintargaryen is trying to help. If you are taking the course in Coursera there are forums in Coursera - if you are taking the course on www.py4e.com - there is no expectation that you will get personal help or tutoring. It is important that you use the right server - there are old versions of the assignment code that no longer work. Anything that retrieves data from google is not right.

csev avatar Oct 08 '25 15:10 csev

You can’t get help there either.  I can’t believe we put all this work in.  We get over half way through. Nobody can help us when there is problem. Coursera will not let you talk to a person. All you get is the runaround. I’m sorry to trouble you and I appreciate the help. It’s so frustrating because I’m trying to get masters college credit. Sent from my iPhoneOn Oct 8, 2025, at 11:25 AM, Charles Severance @.***> wrote:csev left a comment (csev/py4e#466) @FredShimfessel123 we generally do not help students using github issues. @pravintargaryen is trying to help. If you are taking the course in Coursera there are forums in Coursera - if you are taking the course on www.py4e.com - there is no expectation that you will get personal help or tutoring. It is important that you use the right server - there are old versions of the assignment code that no longer work. Anything that retrieves data from google is not right.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

FredShimfessel123 avatar Oct 08 '25 16:10 FredShimfessel123

I’m sorry Chuck. I’m not a bad person. I have enjoyed your book and learned a ton. You have changed my life. I’m an older guy trying to learn this stuff and when you can’t speak or email a human. It gets frustrating. Sent from my iPhoneOn Oct 8, 2025, at 11:25 AM, Charles Severance @.***> wrote:csev left a comment (csev/py4e#466) @FredShimfessel123 we generally do not help students using github issues. @pravintargaryen is trying to help. If you are taking the course in Coursera there are forums in Coursera - if you are taking the course on www.py4e.com - there is no expectation that you will get personal help or tutoring. It is important that you use the right server - there are old versions of the assignment code that no longer work. Anything that retrieves data from google is not right.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

FredShimfessel123 avatar Oct 08 '25 16:10 FredShimfessel123