Skip to content

Cannot resolve keyword 'response' into field. Choices are: #858

@zhangxuehui

Description

@zhangxuehui

while we are executing the code as below,
try:
user = backend.do_auth(token, user=authed_user)
except Exception as e:
return Response({"error": "do_auth error","detail":e.message},
status=status.HTTP_500_INTERNAL_SERVER_ERROR)

the error message comes up:
Cannot resolve keyword 'response' into field. Choices are:...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions