Project

General

Profile

Bug #67898

KeyError: 'EtatDemande'

Added by Sentry Io 14 days ago. Updated 13 days ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03 August 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

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

KeyError: 'EtatDemande'
  File "passerelle/utils/jsonresponse.py", line 129, in api
    resp = f(*args, **kwargs)
  File "passerelle/views.py", line 552, in perform
    result = self.endpoint(request, **params)
  File "grandlyon_elyx/models.py", line 145, in status
    if data['EtatDemande'] == "DEMANDE_DISPO":

Error occurred while processing request

History

#1

Updated by Nicolas Roche (absent jusqu'au 19 août) 14 days ago

  • Project changed from Suivi des traces to Passerelle

On se prend une 500 parce que la demande 99 ne retourne pas la clé EtatDemande dans le dictionnaire renvoyé.

GET https://apis.grandlyon.fr/elyx-dev/1.0/rr/Demandes?operation=suivi&id=99 (=> 200)
{"ModeRetour":"ErreurC#"}

Also available in: Atom PDF