Incorrect request from APP panel

in some cases pipedrive send incorrect request to integration's backend

example of such request:

{"time": "2022-12-20T08:36:37+00:00", "ip": "94.236.52.52", "forwarded_for": "", "TLS": "TLSv1.3", "TLS cipher suite": "TLS_AES_256_GCM_SHA384", "pipe": ".", "requests": "1", "user": "timelines-prod", "host": "app.timelines.ai", "request": "GET /api/pipedrive/panel?resource=deal&view=details&userId=13486439&companyId=10096030&selectedIds=13486439&isShared=false&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb21wYW55SWQiOjEwMDk2MDMwLCJ1c2VySWQiOjEzNDg2NDM5LCJpYXQiOjE2NzE1MjUzOTUsImV4cCI6MTY3MTUyNTQ1NX0.tNMZgW2q7E1dzOH9tDYacxWridiaQaeOoSdu2PqVRvE HTTP/1.1", "user_agent": "Pipedrive App Extensions", "referer": "", "status": "400", "bytes_sent": 640, "elapsed": "1.735", "gzip_ratio": ""}

this request has incorrect "selectedIds=13486439". parameter - it has a value of userId=13486439 but not a deal

Comments