Supplier Matching Service Bulk API

LaveshNK
Regular Visitor

Supplier Matching Service Bulk API

Hello, I have got a few errors with regards to testing out the data in the Supplier Matching Service Bulk API. I have attached the screenshots below of my testing in Postman. The authorization is valid. The request is working for the single matching service, but not for Bulk API specifically when we send a csv file. It shows "internal server error" .

Screenshot 2022-06-21 at 1.38.36 PM.png

Screenshot 2022-06-21 at 1.38.47 PM.png

For reference, it is able to access single request:

 

Screenshot 2022-06-21 at 1.40.57 PM.png

3 REPLIES 3
jenn_kh
Community Moderator

Re: Supplier Matching Service Bulk API

Hi, @LaveshNK. Thank you for reaching out! Our agent is looking into this and will get back to you with a potential solution as soon as possible. -Jenn

LaveshNK
Regular Visitor

Re: Supplier Matching Service Bulk API

Hello Jenn, thank you for the reply. I hope we get an answer as soon as possible, even for the other replied as it is kind of urgent. Is there any other way to contact the agent about this?

DianaTran-Yee
Visa Developer Support Specialist

Re: Supplier Matching Service Bulk API

Hi @LaveshNK,

 

When you call the bulk upload API, the Content-Type header is set to “multipart/form-data” but the boundary is not specified.  What happens if you omit the Content-Type header? When you try omitting the Content-Type header and get a 500 status code then it seems that the Content-Type header is missing. Please add the boundary to the Content-Type header and see if that fixes the error. Please share your result with us.




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.