Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After searching a movie, it says "Invalid Request" #2

Closed
mehant-kr opened this issue Nov 28, 2020 · 20 comments
Closed

After searching a movie, it says "Invalid Request" #2

mehant-kr opened this issue Nov 28, 2020 · 20 comments

Comments

@mehant-kr
Copy link

mehant-kr commented Nov 28, 2020

Replaced my api key in both the lines in static/recommend.js
Created vitrualenv, activated it
Installed all the requirements.
ran the server but after searching a movie in the browser, it says "Invalid Request"
It doesn't works.
Can you fix the code

@kishan0725
Copy link
Owner

kishan0725 commented Nov 28, 2020

@mehantkr There's nothing wrong with the code. If you make a request without the API key for the first time, your browser caches the request in the browser memory and throws an Invalid request error. Even though you replaced the API key for the next subsequent requests, your browser will always make use of the request from the browser cache. I would suggest you press ctrl+f5 (which clears the content of the browser cache) and try making a request.

For more details, please look into this issue #1

PS: If you get it resolved, please let us know how you get it resolved and close the issue. Thank you! :)

@mehant-kr
Copy link
Author

mehant-kr commented Nov 28, 2020

Oh yah.. Pressing ctrl+f5 solved the issue

@chithraanil
Copy link

'The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application'.Im getting this error after loading from the home page

@bshweta1901
Copy link

bshweta1901 commented Feb 1, 2022

ran the server but after searching a movie in the browser, it says "Invalid Request"
Invalid Request - [object Object]
It doesn't works.
doing ctrl+f5 it doesnt work

@Iprashant91
Copy link

Hey Kishan,

Thank you very much for such wonderful project, I run this project without any issue because instruction of very clean and clear.

I want to integrate apache kafka in this project can you help me please.

@Reshma-123-spec
Copy link

I'm unable to open my pkl file. Its showing utf-8 is not encoded

@HarshLalwani19
Copy link

after entering a movie it buffers for a while then goes back to the search page again

@ITSME1516
Copy link

Screenshot 2023-04-21 173132
iam getting this kind of error #error recs. say some solution to solve it

@kishan0725
Copy link
Owner

@ITSME1516 Check your terminal or command prompt where you run the Flask app and look for any error/exception

@ITSME1516
Copy link

its showing some warning bro

@ITSME1516
Copy link

Screenshot 2023-04-21 175525
its the warning iam getting

@kishan0725
Copy link
Owner

@ITSME1516 It doesn't look like it has any error/exception. Are you sure this screenshot was taken after you got "error recs" in your browser? Keep in mind that restarting the app would clear the error in your terminal.

@ITSME1516
Copy link

noo

@ITSME1516
Copy link

in termina there is no error.some debugger is active and its sowing some debugger pin

@kishan0725
Copy link
Owner

Kindly re-install or upgrade the lxml package and try once.

@ITSME1516
Copy link

okk

@sreeja008
Copy link

Screenshot 2024-03-09 170525
its showing invalid request

@Anmol-Shh
Copy link

Screenshot 2023-04-21 175525 its the warning iam getting

Hi buddy did you got any solution for this? It will be very helpful

@Anmol-Shh
Copy link

Hi Kishan,
I’m getting a long string of error consisting of vectorisation error, fitting error. Please fix the code!

@IMMORTALCHIRU
Copy link

Screenshot 2023-04-21 175525 its the warning iam getting

Hi buddy did you got any solution for this? It will be very helpful

Nothing worry about that error it is just showing up due to the model file is trained with scikit-learn==1.2.1 and in your system you have scikit-learn==1.2.2 version installed, If you want to train the model file train it with the current interpreter or else install Python version 3.8.0 and install all the requirements by removing the version specifications of them. It will fix the error for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests