Dear Appsmith Team,
I am unable to fetch the content of the PDF file that I send via REST API.
I am keeping the file type as Text and in the API I access it as
I get the full content of the PDF when I do it via Postman on my local.
Not sure what I am missing here.
Can someone please guide what should be the config chosen in FilePicker for PDF and how the headers and body should be configured?
Just to clarify, is it that you’re not getting any response at all or the response you got is not what you’re expecting? In any case, can you share with us a screenshot of the response you’re getting?
The response received are different from Appsmith and Postman.
From Appsmith, the response looks truncated.
Check the attached screenshots.
@Olawale Hi, did you get a chance to look at it? Can you please help?
Hi, @hitz02. Apologies for the late response.
Could you please share what the response looks like on Postman?
auto calculated headers -
If you’re using the cloud version @hitz02, could you invite firstname.lastname@example.org as Developer to your workspace and share the link to your app with us so we can debug it?
If you don’t feel comfortable sharing the link on this post, you can send it as a mail to email@example.com with the URL of this post as well.
@Olawale done. Please check my email.
Can you share the link to your app with us so we can debug it? If you don’t feel comfortable sharing the link on this post, you can send it as a mail to firstname.lastname@example.org with the URL of this post as well.
Application URL added in the mail. check now.
I took the time to check the app, everything seems to be working fine. I tried uploading a demo CSV and I got the information back In a non-truncated manner.
Can I ask what type of data you uploaded when you got the data back truncated?
@Olawale thanks for checking the app.
Can you try uploading a PDF and check?
My use case is to parse resumes which are PDF/docx/doc/text.
Alright. Let me give it a try with a PDF.
I hope it won’t affect anything on your database?
Nope, I just changed the default behavior to NOT store in database.
you can try.
thanks a lot!
Please give me some time to take a look at it.
Hi @Olawale, did you give it a try? Any update?
I also encountered some errors while trying to run the application (i.e uploading PDF). I have already reported this to our engineers. I or someone from the team will reach out to you once we have any helpful information.
Thank you for your patience.
Your widget container now displays the information correctly.
Could you please send me the PDF file you are trying to load?
Also, could you please let me know the format in which you expect it to be read in Appsmith?