I’m trying to create applicant, and I get error:
{
"errors": [ {
"code": "internal_server_error",
"message": "We're sorry, but something went wrong."
} ]
}
The request is:
{
"candidate": {
"first_name": "Test",
"last_name": "Test",
"email": "test@example.com",
"source_id": *****,
"source_category_id": *****,
"resumes": [{
"url": "http://wallpoper.com/images/00/02/81/34/joke_00028134.jpg",
"content_file_name": "joke_00028134.jpg",
"content_file_size": "57927",
"description": "joke_00028134.jpg"
}]
}
}
If I don’t add a resume object, everything is fine.
What went wrong?
Santhosh
(Santhosh Balusamy)
2
@Vladimir_Vlcek,
Good Day!
Let me check with the product team and get back to you at the earliest,
Mean while can you try sending the PDF instead jpg?
Thanks
Thanks for the reply, I tried with the pdf, same response.
I look forward to hearing from the product team, can I contact them directly?
Raviraj
(Raviraj Subramanian)
4
Hi @Vladimir_Vlcek,
You can always contact the Freshteam product support to connect with the product support or the engineering team directly.
Santhosh
(Santhosh Balusamy)
5
@Vladimir_Vlcek ,
Seems like the document has incorrect information,
kindy refer to this CURL request for the applicant to create.
curl -X POST \
http://<domain>/api/job_postings/1/applicants \
-H 'Authorization: Bearer sometoken' \
-H 'Content-Type: multipart/form-data' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F 'candidate[first_name]=first1' \
-F 'candidate[last_name]=last1' \
-F 'candidate[email]=email11@example.com' \
-F 'candidate[source_id]=1' \
-F 'candidate[source_category_id]=1' \
-F 'candidate[resumes][]=@/path/to/resume/Resume15.docx'
Hope it helps
Thanks
1 Like
system
(system)
Closed
7
This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.