Unable to send document for pan extraction via api

Hi,

I am trying to test multipart/form-data to a third party API. It works well via PostMan but I am unable to get the same result via yellow.ai API curl import. Appreciate if someone could share a sample to upload file data. Thanks!

I get the below error:
{
“details”: “EX231120161858298CDK”,
“code”: “INVALID_REQUEST_BODY”,
“message”: “Missing start boundary”
}

Hey Sahana,

Could you please write to support@yellow.ai? Our team will check and get back to you with a solution.

Hey @Sahana_Bhat ,

can you share the APICurl which you are trying to import? From the error message it seems some parameter is not passed correctly.

It might be possible the curl you are trying to import is failing. Share the curl which works in postman, will try to import and check for failures.

Hi,

Thanks for the response. I reached out to the support team and they gave me the solution - and informed that multipart/form-data is not supported.

Regards,
Sahana