Suggestion T5306
Visible to All Users

Increase 100KB upload limit for SurveyJS Service?

created 5 years ago

Hi folks,

We're creating a survey where people need to upload some files. We'd like to send the results to SurveyJS service, but we just noticed there is a 64KB file size limit? We got the following message after attempting to upload a file.

JSON
{"Message":"The remote server returned an error: (400) Bad Request.\\nPropertyValueTooLarge: The property value exceeds the maximum allowed size (64KB). If the property value is a string, it is UTF-16 encoded and the maximum number of characters should be 32K or less.\\nRequestId:29291a75-4002-00bf-7b2e-931b86000000\\nTime:2020-09-25T11:25:36.4146500Z"}

(In the survey the "Maximum file size in bytes" is set to 0.)

Is there any way to increase this limit? We'd be happy to pay for a subscription, but there doesn't appear to be paid plans at the moment.

I would also like to recommend communicating this limit more clearly on pages like: https://surveyjs.io/Overview/Service

Can you recommend a third party file upload solution that works well with SurveyJS?

Comments (1)

    I just realize the storeDataAsText / "Store file content in JSON result as text" option was enabled. If I disable that option the limit seems to increase to 100 KB. Which is still an issue for us.

    Answers approved by surveyjs Support

    created 5 years ago (modified 5 years ago)

    Hello,
    We have the task to store files separately from other survey results in our service. We will store links on these files in survey results. Unfortunately, it is in our backlog. We will discuss this issue and comeback to you.

    Thank you,
    Andrew
    SurveyJS Team

      Show previous comments (3)

        What file size are you looking for?

        Max 25MB I think. It's for pdfs that contain product information. It's a bit hard to predict.

        Here is the problem that we have. Our service is free. As soon as we make this functionality available, we become a public file storage. > Since all you need is to provide your e-mail to register on the server, that you can get in a minute, then everybody can use this service.
        It means somebody can upload on our service a film, book and we will be responsible for it.
        We will start to pay way more for storage/traffic to MS Azure and it means that we will have to ask money for our cloud. We are not ready for it yet.
        Unfortunately, it is not a technical issue.

        Clear and understandable.
        But, please do try to communicate this limit more clearly on pages like https://surveyjs.io/Overview/Service.

          Hello,

          I'll update the documentation page. We've discussed the uploading files story with the team again and decided to add it in our task list. Most likely we'll allow files uploading with some limits for your paid customers. But it will require modifications of our service and we can't give any estimations for a while.

          Thanks, Serge
          SurveyJS Team

            Hello,

            I've added the limitations text to the https://surveyjs.io/Overview/Service page and hide the storeDataAsText from the online creator. Site will be updated soon.

            Thanks, Serge
            SurveyJS Team