Swagger Error from API

I’m trying to create a comment on a task, yet I receive the below swagger error in response.

Snippet of my code.

        stories_api_instance = asana.StoriesApi(api_client)
        res = stories_api_instance.create_story_for_task(
            task_gid, {"data": {"text": text}}, {}
        )

“errorMessage”: “‘decimal.Decimal’ object has no attribute ‘swagger_types’”,
“errorType”: “AttributeError”,

Documentation: python-asana/docs/StoriesApi.md at v5.0.10 · Asana/python-asana · GitHub