Unsupported Media Type : POSTMAN

Hi,

 

I am trying to upload a ".csv" file into Anaplan using Postman. Below is the API used.

 

PUT https://api.anaplan.com/2/0/workspaces/((workspace_id}}/models/{{model_id}}/files/{{file_id}}

 

But it is throwing an error of "Unsupported Media Type". Below images(also uploaded) are the configurations used.

Akhilesh1011_0-1616491546828.png

Akhilesh1011_1-1616491581709.png

 

Can someone help me in fixing this issue?

 

Thanks,

Akhilesh

 

Best Answer

  • kevin.cho
    Answer ✓

    Hey @Akhilesh9025 , I did and updated my reply.

     

    Select the "binary" option and select your file there. 

     

    Remember to mark the problem as solved so other people also can find the answer!

Answers