-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
🐛 TypeError: Cannot read properties of undefined (reading 'split') #82
Comments
TypeError: Cannot read properties of undefined (reading 'split') |
The error happens if you got invalid data from Instagram API. A non-string data object was passed through to the fetch function, and therefore failed to find the |
Please stick to Google Chrome. |
i switched to chrome. it worked for a day. now it's not working anymore either. |
|
This commit fixes the error "TypeError: Cannot read properties of undefined (reading 'split')" which occurs when applying the JavaScript String split() to the `url` variable that is not a string object. To prevent this error from occurring, an if-statement has been added to check the type of the `url` variable and forces the callback return immediately for non-string values. This commit addresses issue #82.
This commit fixes the error "TypeError: Cannot read properties of undefined (reading 'split')" which occurs when applying the JavaScript String split() to the `url` variable that is not a string object. To prevent this error from occurring, an if-statement has been added to check the type of the `url` variable and forces the callback return immediately for non-string values. This commit addresses issue #82.
started getting this error yesterday. tried replacing with new cookies set, didnt work.
i'm using cookies obtained from edge browser on windows 10.
The text was updated successfully, but these errors were encountered: