Discussions

Ask a Question
Back to All

Issue Uploading documents via API

Hello Guys,

i’m running into an issue while uploading a document via API (/company/documents) HTTP request.

Request-Header and -Body looking good in my opinion. Just compared that with an example request at the developer hub.

But my response ended every time in:
{"success":false,"error":{"message":"Bitte geben Sie category id ein, um fortzufahren. (and 3 more errors)","code":0,"error_data":{"category_id":["Bitte geben Sie category id ein, um fortzufahren."],"title":["Bitte geben Sie title ein, um fortzufahren."],"employee_id":["Bitte geben Sie employee id ein, um fortzufahren."],"file":["Bitte geben Sie file ein, um fortzufahren."]}}}

Can you have a look what’s wrong?

Personio-Partner-ID: PRECHTLGMBH
X-Personio-App-ID: PEPINTERNET

Thanks a lot.

Best regards

Tony