Community Groups are officially here!
We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.

Cannot upload .js file to library

rsuter
rsuter SeattleCommunity Member, Qualtrics Brand Admin Qubie ✭

Hello there,
I have been trying to upload a .js file to my Files Library but I have been receiving a "The file you have uploaded is a disallowed file type" error. I can't find any other information or reference to this error. I have experimented with various permission levels by user type and group type, but that does not seem to work.

Does anyone know if file types are gated by account level? Or is not possible to upload .js files?

Tagged:

Best Answers

  • fleb
    fleb Czech RepublicCommunity Member Sage ✭✭✭
    Accepted Answer

    Hi,
    I don't know how exactly this works, but I had the same problem even with a paid account. I just uploaded the same file without the suffix and was still able to use my functions which were inside.

  • [Deleted User]
    [Deleted User] Qubie ✭
    Accepted Answer

    Hello @rsuter ,

    Alternate way is to first upload normal text file and then in the edit option of the uploaded text file upload the JS file

Answers

  • rsuter
    rsuter SeattleCommunity Member, Qualtrics Brand Admin Qubie ✭

    Thanks, @fleb ! That did the trick.

  • Armadous
    Armadous Community Member Qubie ✭
    edited June 2019

    I'm not able to make this work. Choose new file throws a console error "Error: Mismatched File types: text/html".

    Edit: Just leaving the file as a .txt seems fine.