Freshteam - Create applicant - Internal server error

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": "",
    "source_id": *****, 
    "source_category_id": *****,
    "resumes":  [{
      "url": "",
      "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?

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 for the reply, I tried with the pdf, same response.

I look forward to hearing from the product team, can I contact them directly?

Hi @Vladimir_Vlcek,

You can always contact the Freshteam product support to connect with the product support or the engineering team directly.

@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]' \
  -F 'candidate[source_id]=1' \
  -F 'candidate[source_category_id]=1' \
  -F 'candidate[resumes][]=@/path/to/resume/Resume15.docx'

Hope it helps :slight_smile:


1 Like

This works, thanks a lot :slight_smile:

1 Like

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.