I am uploading a pdf file through POST gallery/api/user/v2/inputfiles/ endpoint and getting the the below error:
{"data":null,"exceptionName":"BadRequestException","innerExceptionMessage":"","message":"Requested file format is not supported."}
While I am able to upload other file type like .xlsx, .csv and .txt