Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE icon indicating copy to clipboard operation
Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE copied to clipboard

HTTP error while trying to fetch Udemy information [BUG]

Open newrgyXTerence opened this issue 1 year ago • 5 comments

Describe the bug HTTP error while trying to fetch Udemy information 403 Client Error: Forbidden for url: https://www.udemy.com/api-2.0/users/me/subscribed-courses/?ordering=-last_accessed&fields%5Bcourse%5D=@min,enrollment_time,published_title,&fields%5Buser%5D=@min&page=1&page_size=100 Unable to fetch existing courses. Login was not successful Exception in redeem courses: 403 Client Error: Forbidden for url: https://www.udemy.com/api-2.0/users/me/subscribed-courses/?ordering=-last_accessed&fields%5Bcourse%5D=@min,enrollment_time,published_title,&fields%5Buser%5D=@min&page=1&page_size=100

Desktop (please complete the following information):

  • OS: [Window 11]

newrgyXTerence avatar May 16 '23 01:05 newrgyXTerence

Confirm! I have had the exact same issue since yesterday!

ahmedfarrag17 avatar May 17 '23 10:05 ahmedfarrag17

Version 4.1.4 is released. Please check it to see if it resolves your issue. Thanks

cullzie avatar Feb 21 '24 14:02 cullzie

@cullzie After I installed version 4.1.4, when I run it with udemy-enroller command in cmd it gives me the following error message (nota: I removed the settings.yaml and re-inserted my udemy account info but it still gives me the same error):

HTTP error while trying to fetch Udemy information 403 Client Error: Forbidden for url: https://www.udemy.com/api-2.0/users/me/subscribed-courses/?ordering=-last_accessed&fields%5Bcourse%5D=@min,enrollment_time,published_title,&fields%5Buser%5D=@min&page=1&page_size=100 Unable to fetch existing courses. Login was not successful Exception in redeem courses: 403 Client Error: Forbidden for url: https://www.udemy.com/api-2.0/users/me/subscribed-courses/?ordering=-last_accessed&fields%5Bcourse%5D=@min,enrollment_time,published_title,&fields%5Buser%5D=@min&page=1&page_size=100

ahmedfarrag17 avatar Feb 21 '24 16:02 ahmedfarrag17

@ahmedfarrag17 Are you running behind a vpn? I know that has caused issues before. Also could you run with --debug flag and add the details here as well please

cullzie avatar Feb 21 '24 16:02 cullzie

@cullzie no I am not using a vpn. i tried with --debug but still the same issue. I noticed something: the cmd still indicates the version as 4.1.3 (screenshot attached) even if I am running it within the 4.1.4 folder I downloaded zipped from here: https://github.com/aapatre/Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE/releases/tag/v4.1.4

Also I am on latest versions of Python and PIP

Screenshot 2024-02-21 181714

ahmedfarrag17 avatar Feb 21 '24 17:02 ahmedfarrag17