Skip to content

[BUG] Adding mentions returns 422 #51

@gobboo

Description

@gobboo

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions