Skip to content

error 400 #11

@aghitshek

Description

@aghitshek

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)
-------------------------------------------------------------------------------

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions