0

I am trying to upload add on zip using add ons service rest api post method but getting below error in postman. Let me know if anybody faced this or any idea to resolve this?

{"error":{"code":"UnsupportedApiVersion","message":"The HTTP resource that matches the request URI 'https://host/addon/api/v1/addons' does not support the API version '1'.","innerError":null}}

6
  • 1
    are you able to upload from browser? could you also check request url on network tab on developer mode(F12) of browser when upload from browser Commented Dec 13 at 7:01
  • I am able to upload it from swagger UI. What you want me to check in network tab? I have tried from visual studio too using httpclient but that is also not working.
    – Jagadeesh
    Commented yesterday
  • if it works from swagger endpoint, you might want to check "request url", request headers those are being passed, and correct request body form data is being added to http request. Commented 13 hours ago
  • Problem may be in the encoding of the request body; the POST request expects multi-part form data; check the (raw) request Payload and the Content-Type header. Commented 10 hours ago
  • share the screenshot of the postman what header parameters u have used
    – Velmurugan
    Commented 5 hours ago

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.