mpx-cli icon indicating copy to clipboard operation
mpx-cli copied to clipboard

error 400

Open aghitshek opened this issue 3 years ago • 0 comments

i got this when i ran mpx convert x.jpg y.tex

Error: Snip server response 400 with json body:
{"errors":[{"id":"invalid_image_format","message":"Image must be jpeg or png format."}]}
    at ConvertImageWithSnipAPI (/data/data/com.termux/files/usr/lib/node_modules/@mathpix/mpx-cli/lib/convert.js:479:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ConvertImage (/data/data/com.termux/files/usr/lib/node_modules/@mathpix/mpx-cli/lib/convert.js:596:5)
    at async Object.ImageToTEX (/data/data/com.termux/files/usr/lib/node_modules/@mathpix/mpx-cli/lib/convert.js:615:3)
    at async Command.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/@mathpix/mpx-cli/lib/mpx.js:180:11)
-------------------------------------------------------------------------------

aghitshek avatar Nov 10 '22 06:11 aghitshek