# Vendor api empty responses

**URL:** <https://community.replicated.com/t/vendor-api-empty-responses/416>\
**Category:** Packaging an application\
**Created:** [April 14, 2020, 5:01pm UTC](https://community.replicated.com/t/vendor-api-empty-responses/416 "2020-04-14T17:01:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jordi\_Igual](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@Jordi\_Igual](https://community.replicated.com/u/Jordi_Igual)\
**Post date:** [April 14, 2020, 5:01pm UTC](https://community.replicated.com/t/vendor-api-empty-responses/416/1 "2020-04-14T17:01:44Z")

</div>

i’m trying to use the vendor api, but i get internal server errors, empty responses and nulls in several api paths

Is V1 api deprecated, if so where are the docs for v2?

for example i can succesfuly get my channels with the replicated commad:  
REPLICATED\_APP=myAppId REPLICATED\_API\_TOKEN=myToken replicated channel ls  
ID NAME RELEASE VERSION  
1Wzzzzzzzzzzzzz nightly 236 2020-04-14-nightly  
9kjzzzzzzzzzzzzzzzzz alpha 234 alpha-test

but with the api is impossible along with another api paths:  
curl -X GET -H ‘Authorization: myToken’ [https://api.replicated.com/vendor/v1/app/myAppId/channels](https://api.replicated.com/vendor/v1/app/myAppId/channels)

returns empty response

---

<div class="post-metadata">

**Author:** ![dmitriy](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/dmitriy/32/16_2.png) [@dmitriy](https://community.replicated.com/u/dmitriy)\
**Post date:** [April 14, 2020, 10:18pm UTC](https://community.replicated.com/t/vendor-api-empty-responses/416/2 "2020-04-14T22:18:43Z")

</div>

Jordi,

V1 api is not deprecated and is not going to be deprecated in the foreseeable future. However, it only works with Replicated Platform apps. If you can provide at least a part of the app ID, I can check if there are any relevant errors.

---

<div class="post-metadata">

**Author:** ![Jordi\_Igual](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@Jordi\_Igual](https://community.replicated.com/u/Jordi_Igual)\
**Post date:** [April 15, 2020, 9:33am UTC](https://community.replicated.com/t/vendor-api-empty-responses/416/3 "2020-04-15T09:33:23Z")

</div>

Hi Dmitriy!, the app id is “respring”

---

<div class="post-metadata">

**Author:** ![dmitriy](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/dmitriy/32/16_2.png) [@dmitriy](https://community.replicated.com/u/dmitriy)\
**Post date:** [April 15, 2020, 1:46pm UTC](https://community.replicated.com/t/vendor-api-empty-responses/416/4 "2020-04-15T13:46:02Z")

</div>

Jordi, that is a KOTS app. The API for these apps has not been documented yet. Using the CLI is the safest choice for now.

---

<div class="post-metadata">

**Author:** ![Jordi\_Igual](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@Jordi\_Igual](https://community.replicated.com/u/Jordi_Igual)\
**Post date:** [April 15, 2020, 2:20pm UTC](https://community.replicated.com/t/vendor-api-empty-responses/416/5 "2020-04-15T14:20:30Z")

</div>

oh ok, i think we will have to parse the output of the command then or copy the data manually to our db until this is working, it is not that much. Thanks anyway!
