Resume max file size

Tagged:

Currently contains 5 posts

Avatar

April 16, 2020 16:29

itised

When creating new resumes, I’m getting a 413 error response. This isn’t listed as a possible response in the documentation, but I assumer its because the POST body is too large.

What is the max size? I’m getting the error with 1.5mb resumes, which seems like a pretty low threshold since most of the resumes I have are at least that large.

I’ve also noticed that you have an “Attachment Uploader” at:

https://host.pcrecruiter.net/pcrbin/jobboard.aspx?action=attachmentupload&source=attachment1&type=uploadresume&redirect=disabled

Is that uploader documented anywhere? It allows the larger files to be uploaded.

Thanks

Avatar

April 16, 2020 18:03

Jarrid-PCRecruiter

Hello itised,
Are you able to upload smaller files? If so can you please email me the request/payload at jarrid (at) mainsequence (dot) net?

The file upload you linked is from our online job board/web extensions. I’d have to check with our web developers on whether or not its possible to implement that without full integrating the job board itself.

Avatar

April 16, 2020 18:51

itised

Hi Jarrid,

While creating the test files to send you I realized the 413 response was actually coming from a proxy server.

But while I have the issue open, could you let me know what the max POST body and resume sizes are? I’d prefer to let a user know when they select the file, instead of waiting for the upload to fail.

Avatar

April 16, 2020 19:48

Jarrid-PCRecruiter

Hi, I’m not sure off the top of my head but I found this doing I search… I believe the maximum file size is either 5MB or 10MB:

https://main-sequence.3scale.net/forum/topics/maximum-query-string-length-for-rest-api-call

Are you calling the API using JavaScript/Browser or on some server side code?

IE:
If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path.

The server side code would depend on what our web server is configured to support which I do not know off hand but can inquire if you need to know.

The POST is going to be reserved for the Creates when we get them implemented so I would not use that.

Avatar

April 17, 2020 17:55

itised

I did see this post before, and our request is a POST made from a server. I’ll just go with the 5MB limit, since that seems pretty large for a resume anyway.

Thanks for all the help

Reply to thread