Open Overk1lls opened 7 months ago
@Overk1lls can you try my fork? pip install git+https://github.com/jarrodnorwell/instagrapi
, it contains a potential fix for the issue you're having
@Overk1lls can you try my fork?
pip install git+https://github.com/jarrodnorwell/instagrapi
, it contains a potential fix for the issue you're having
Yeah, it seems working now. Thanks for the answer!
Describe the bug I need to search for hashtags on Instagram. At first, I tried using the Public API, but it seems not working (the same problem as described here). Then I switched to using the private API endpoint (
/tags/search/
). But every time I get a successful response from Instagram (logs checking), the validation error pops up (and my API returns 400/500 as a result):I checked the Hashtag model and its
id
property hasstr
type, while getting the int type (e.g. 17843993695028891):So I updated the type from
str
tostr | int
and it started working without any exceptions:I thought you guys might have a look at this and change/update or give some kind of answer/clarification to this.
To Reproduce I have an endpoint to search for hashtags, something like this:
Traceback
Expected behavior To not throw any exceptions and return a list of hashtags
Desktop (please complete the following information):