Internal server error after I try to host code on server
I solved the error,
I was deploying without a secure connection and that was raising an error. also redirect URL must be 'https' that was another problem.
I have written a code in python using youtube data API v3 where I am listing playlists created by a user. I have followed the code suggested by youtube API it runs well in local machine but when I deployed the same code on the server, It runs till authentication but after OAuth, it displays Internal server error in the browser instead of the result.
is there any major changes that I am missing. Please help me with the issue.
My code in not running after oauth2callback function runs.