I have created custom Java Authenticator and trying to import Zip file but it is giving me below error.
2019-04-02 16:22:02.950+0530 [L: ERROR] [O: E.c.t.w.Importer] [I: ] [U: Administrator] [S: ] [T: http-nio-8080-exec-2] [message: Entity Import Not Supported for File Type: .zip] com.thingworx.common.exceptions.InvalidRequestException: Entity Import Not Supported for File Type: .zip
at com.thingworx.webservices.Importer.importFromAttachment(Importer.java:228)
at com.thingworx.webservices.Importer.service(Importer.java:175)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
MetaData.XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Entities>
<ExtensionPackages>
<ExtensionPackage dependsOn="" description="" minimumThingWorxVersion="8.3.0" name="CustomLogin" packageVersion="1.0.0" vendor="">
<JarResources>
<FileResource description="" file="customlogin.jar" type="JAR"/>
</JarResources>
</ExtensionPackage>
</ExtensionPackages>
<Authenticators>
<Authenticator aspect.isEditableExtensionObject="true" className="com.thingworx.extension.CustomAuth" description="" enabled="false" name="CustomAuth" priority="1" requiresChallenge="false" supportsSession="false"/>
</Authenticators>
</Entities>