#varinder8747

1 messages · Page 1 of 1 (latest)

marble cliffBOT
vestal ruin
#

hi, what is the request ID req_xxx of the API call you're making?

zinc river
#

req_jXK5lFjIFAwLdA

#

its showing limit parameter unknown

vestal ruin
#

because you're making a POST request(trying to create a Product), not a GET request(which would be trying to list products).

zinc river
#

but its showing empty object

vestal ruin
#

what does that mean?

#

sorry, you mean you tried with a GET request and got an empty result, and then you tried with a POST and got that error?

#

it's confusing for me since you changed your question partway through the conversation 🙂

zinc river
#

let me clea

#

I am using this code in GET method

#

But I am getting empty list with live key

#

but same is working with test key.

#

Let me know if you got it.

vestal ruin
#

yes

#

anyway the problem is you are using a 2015 API version so that only returns a certain type of "older" Product object by default

#

either use a more recent API version, or pass -d type=service on the request.