Better:
`return JsonResponse({"error": "Unknown parameter: %s"}, status=500)`