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

Undefined Variables and API Request Failure in popup.js #78

Open
kartikshukla17 opened this issue Feb 21, 2025 · 1 comment
Open

Undefined Variables and API Request Failure in popup.js #78

kartikshukla17 opened this issue Feb 21, 2025 · 1 comment

Comments

@kartikshukla17
Copy link

kartikshukla17 commented Feb 21, 2025

While testing the Chrome extension, I encountered the following issues in the popup.js file:

Undefined Variables:
Lines 60 and 61 log undefined, indicating that variables may not be properly initialized or assigned a value.
At line 185, an Uncaught ReferenceError : newsKeys is not defined error occurs, suggesting the newsKeys variable is used without being declared or initialized.

Empty Object in Logs:
The console logs Old Keys: followed by an empty object ({}), suggesting that the expected data is not being fetched or stored correctly.

API Request Failure:
The API call to phcg4hgf84.execute-api.us-east-1.amazonaws.com/dev/pred fails with net::ERR_NAME_NOT_RESOLVED.
The request includes key=undefined, indicating a potential misconfiguration or an uninitialized API key.

@kartikshukla17
Copy link
Author

I'd like to work on this issue. Could you please assign it to me?

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

1 participant