Skip to content

exception Attempt to decode JSON with unexpected mimetype: text/html #47

@KhealthDavid

Description

@KhealthDavid

insert_query_result = await self.graphql_client.execute_async(query=insert_query,
File "/root/.cache/pypoetry/virtualenvs/maanger-py3.8/lib/python3.8/site-packages/python_graphql_client/graphql_client.py", line 76, in execute_async
return await response.json()
File "/root/.cache/pypoetry/virtualenvs/manager-py3.8/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1097, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://hasura/v1/graphql')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions