Projet

Général

Profil

Development #65824

TypeError: Object of type type is not JSON serializable

Ajouté par Sentry Io il y a presque 2 ans. Mis à jour il y a presque 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
31 mai 2022
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/61328/

TypeError: Object of type type is not JSON serializable
(3 additional frame(s) were not displayed)
...
  File "json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "passerelle/utils/jsonresponse.py", line 44, in default
    return super().default(o)
  File "django/core/serializers/json.py", line 104, in default
    return super().default(o)
  File "json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '

Error occurred while processing request

Fichiers

Révisions associées

Révision 0d3ff1c8 (diff)
Ajouté par Benjamin Dauvergne il y a presque 2 ans

franceconnect_data: do not return PermissionDenied (#65824)

Historique

#1

Mis à jour par Lauréline Guérin il y a presque 2 ans

  • Projet changé de Suivi des traces à Passerelle

(on essaie de sérializer <class 'django.core.exceptions.PermissionDenied'>)

#2

Mis à jour par Benjamin Dauvergne il y a presque 2 ans

  • Assigné à mis à Benjamin Dauvergne
#3

Mis à jour par Benjamin Dauvergne il y a presque 2 ans

#4

Mis à jour par Lauréline Guérin il y a presque 2 ans

  • Statut changé de Solution proposée à Solution validée
#5

Mis à jour par Benjamin Dauvergne il y a presque 2 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 0d3ff1c8a173d164e972347a41ca1eeab22e3cf6
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Tue May 31 17:59:50 2022 +0200

    franceconnect_data: do not return PermissionDenied (#65824)
#6

Mis à jour par Transition automatique il y a presque 2 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#7

Mis à jour par Transition automatique il y a presque 2 ans

Automatic expiration

Formats disponibles : Atom PDF