https://recruit.zoho.com/recruit/private/json/Candidates/uploadDocument?authtoken=<token>&scope=recruitapi Not Working for PDF Upload
Hello,
I get an internal error when I try to upload a PDF resume through the uploadDocument API call.
However, the upload works when using a simple text file.
I tried multiple PDF files and got the same result.
filename
johnCV.txt
document
TmFtZTogVG9ueQ0KDQpFbWFpbDogdG9ueUB6b2hvY29ycC5jb20NCg0KTG9jYXRpb246IENoZW5uYWk=
version
2
Response:
{"response":{"result":{"recorddetail":{"FL":{"val":"Id","content":"445553000000207005"}},"message":"Candidate updated successfully"},"uri":"/recruit/private/json/Candidates/uploadDocument"}}
PDF Example
I used an oauth token with ZohoRecruit.modules.all scope.
Last token used:
filename
profile.pdf
document:
<base64 PDF>
Response:
{"response":{"error":{"code":"null","message":"null"},"uri":"/recruit/private/json/Candidates/uploadDocument"}}
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.