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

[BUG] Adding mentions returns 422 #51

Open
gobboo opened this issue Jan 13, 2023 · 1 comment
Open

[BUG] Adding mentions returns 422 #51

gobboo opened this issue Jan 13, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@gobboo
Copy link

gobboo commented Jan 13, 2023

Describe the bug
Whenever I send

[
    {
        'user': { 'pk': 'PK' }
    }
]

As mentions on the /video/upload_to_story/by_url it returns a 422 stating that {'detail': [{'loc': ['body', 'mentions', 0], 'msg': 'value is not a valid dict', 'type': 'type_error.dict'}]}

When infact it's a dict, I've even checked the SRC to verify if my data is correct and it seems like its 100% correct, even the OpenAPI doc has an error when I fill it out.

To Reproduce
Try using mentions on the OpenAPI spec, it'll return a 422

Desktop (please complete the following information):

  • OS: [e.g. Ubuntu 21.04]
  • Python version [e.g. 3.8.3] 3.9.7
  • instagrapi version [e.g. 1.9.3, not "latest"] OpenAPI shows its 1.0.0 but unsure, downloaded the repo a couple days ago
  • moveipy version if used
  • imagemagick version if used
@gobboo gobboo added the bug Something isn't working label Jan 13, 2023
@adw0rd
Copy link
Collaborator

adw0rd commented Jan 13, 2023

I don't have time for that right now, you can try my service https://api.lamadava.com and if there are problems I will help.

Or send here your solution to the problem in the form of a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants