HackingPolitics / hp-frontend

Client for hacking politics projects.
MIT License
5 stars 2 forks source link

Ungültige API-Anfrage #220

Closed j-schumann closed 3 years ago

j-schumann commented 3 years ago

Hallo Philipp, was hat es mit dem Request /projects?page=1&id={"value":[]} auf sich? Was willst du damit erreichen?

Das schmeisst mir hier Meldungen im LIve

[2021-07-09T13:00:10.454749+02:00] app.NOTICE: Invalid filter ignored {"exception":"[object] (ApiPlatform\\Core\\Exception\\InvalidArgumentException(code: 0): Values for field \"id\" are not valid according to the doctrine type. 
...
 {"token":{"username":"philipphp","authenticated":true,"roles":["ROLE_PROCESS_MANAGER","ROLE_USER"]},"url":"/projects?page=1&id=%7B%22value%22:[]%7D","ip":"89.27.225.249","http_method":"GET","server":"backend.hacking-politics.de","referrer":"https://www.hacking-politics.de/","uid":"8756061"}
philippmunzert commented 3 years ago

fixed