Skip to content

Forum in maintenance, we will back soon 🙂

Notifications
Clear all

error message

9 Posts
3 Users
4 Reactions
155 Views
(@paddy)
Posts: 52
Trusted Member
Topic starter
 

Hi Hassan I keep getting this error message when running your script in the 'Build & Sell API's course - create an API' unit.

attached screen shots of your code I am running and error message when I run uvicorn app:app --reload

can you please help


 
Posted : 08/10/2024 4:55 am
(@paddy)
Posts: 52
Trusted Member
Topic starter
 

its ok I found the solution in claude. needed to run python -m uvicorn app:app --reload

 
Posted : 08/10/2024 5:51 am
(@paddy)
Posts: 52
Trusted Member
Topic starter
 

the app = FastAPI() is also missing from your code in the 'image converter' course  page FYI

 
Posted : 08/10/2024 5:58 am
(@paddy)
Posts: 52
Trusted Member
Topic starter
 

just some more feedback FYI re your 'Youtube Popular videos finder' unit in the Build API course.

Line 30 is missing vital code.

should be:

channels =   for video in videos]
 
Posted : 08/11/2024 1:57 am
(@paddy)
Posts: 52
Trusted Member
Topic starter
 

I mean, it should be:

channels =   for video in videos]
 
Posted : 08/11/2024 2:38 am
(@paddy)
Posts: 52
Trusted Member
Topic starter
 

thats weird, when you copy and paste the code into this comment box, it keeps reverting back to the wrong snippet when you post the comment.

it should be:

 
Posted : 08/11/2024 2:40 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@paddy share code with the insert code icon "<>" above to keep the correct format.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 08/11/2024 9:09 pm
(@paddy)
Posts: 52
Trusted Member
Topic starter
 

ok thanks. anyway its in last screen shot. Just sharing it with you in case you want to update the code in the course as its incorrect and others having the same issue.

 
Posted : 08/12/2024 8:21 am
Hasan Aboul Hasan
(@admin)
Posts: 1276
Member Admin
 

yeah, there is a problem in rendering this part of the code, Iam checking to see what is the problem, it is like a rendering bug. thanks for pointing this out.

 
Posted : 08/23/2024 7:52 am
Share:
[the_ad_group id="312"]