Dharshana M Krishnamoorthy created ATLAS-4147: -------------------------------------------------
Summary: [Atlas: Glossary Term Bulk Import] When un_supported file type is passed error message displays "file type {0}" Key: ATLAS-4147 URL: https://issues.apache.org/jira/browse/ATLAS-4147 Project: Atlas Issue Type: Bug Components: atlas-core Reporter: Dharshana M Krishnamoorthy Repro steps: Pass unsupported file type to the glossary term bulk import {code:java} curl --request POST -u user:password 'https://<cluster>/api/atlas/v2/glossary/import' \ -H 'Accept: application/json' \ -H 'Cache-Control: no-cache' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'X-XSRF-HEADER: ""' \ -H 'Content-Type: multipart/form-data' \ -F file=@abc.py \ --compressed \ --insecure{code} The following error message is displayed {code:java} {"errorCode":"ATLAS-400-00-098", "errorMessage":"The provided file type {0} is not supported."} {code} Expectation: Instead of "file type \{0}" actual file type should be displayed Suggestion: Along with the above message, display the supported file format too Example: {code:java} The provided file type .py is not supported. Supported file formats: .csv, .xls{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)