Discussions
Maybe endpoint /v1/company/employees/<id>/profile-picture broken?
almost 4 years ago by Philip
Hi folks,
can it be that there is an error in the profile-picture endpoint right now?
We have sent the following response in Curl:
curl --request GET --url https://api.personio.de/v1/company/employees/"id"/profile-picture/width --header 'Accept: image/png' --header 'Authorization: Bearer "bearer"'
Where of course we sent "id" with a real ID and "bearer" with a real bearer.
As response came this:
{"success":false,"error":{"message":"Etwas ist schiefgelaufen \u2026","code":0,"identifier":"018b120c5b544337a3be75a4ffa74c77"}}
We expected to get a PNG with the profile picture.
Or do we have a thinking error somewhere here?
Thanks a lot
Philip