Reputation: 2232
Say, I have the following urls:
and
The first one produces the following error:
2012-09-19T11:32:33.794Z Failure Application ID invalid. Application ID invalid. 1.20 Error RequestError E791_CORE_BUNDLED_15340089_R1 791
while the second one does not. I've checked multiple times and appid are the same in both urls, so the problem not with appid.
The first url formed from my python code:
import requests
d=dict(appid = app_id, siteid = site_id, version = version)
d.update(user_params)
data = requests.get(endpoint, params=d)
What could be the source of the problem? Why do two seemingly similar urls behave differently?
Upvotes: 1
Views: 878
Reputation: 1642
http://open.api.sandbox.ebay.com/shopping?
& http://open.api.ebay.com/shopping?
One is Sandbox and one is Production
When you join the Developers Program, you are provided with key sets for your application. The keys set for the Sandbox is different from the key set for the Production environment. (Keys for the Sandbox cannot be used to make API calls in the Production environment. Conversely, Production keys cannot be used to make API calls in the Sandbox.)
So your problem is the fact that the appID is the same in both URL's. :) From Sandbox and Production Keys
Upvotes: 3