question

gummus3 avatar image
0 Likes"
gummus3 asked

Invalid Application ID

Hi Everyone, I would like some help resolving an error that I am getting when I try to retrieve categories. The error says that the Application ID I am providing is invalid. Here is the ruby code I am running to make the request: require 'net/http' require 'uri' uri = URI(" http://open.api.ebay.com/Shopping") params = { callname: "GetCategoryInfo", appid: " ", version: 967, siteid: 0, CategoryID: 279 } uri.query = URI.encode_www_form(params) puts Net::HTTP.get(uri) And here is the response I am getting: 2018-07-06T02:25:44.813Z Failure Application ID invalid. Application ID invalid. 1.20 Error RequestError E1065_CORE_APILW_18739942_R1 1065 I am getting the application key from this page in the production section on the right: https://developer.ebay.com/my/keys Any idea how to fix this? Thank you! Jim
topicsinvalid-app
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

helios825 avatar image
0 Likes"
helios825 answered
Have you ever successfully used your Production Application ID, in any of the API families ? (Sorry, I don't use Ruby, so I can't help with troubleshooting code.)
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

gummus3 avatar image
0 Likes"
gummus3 answered
No, I haven't. I just tried this other endpoint: http://svcs.ebay.com/services/search/FindingService/v1 And got a similar result: 11002 Security Error System Authentication failed : Invalid Application: Authentication Invalid Application: I used the following ruby code to make the request: require 'net/http' require 'uri' uri = URI(" http://svcs.ebay.com/services/search/FindingService/v1") params = { "OPERATION-NAME" => "findItemsAdvanced", "SERVICE-VERSION" => "1.0.0", "SECURITY-APPNAME" => " ", "RESPONSE-DATA-FORMAT" => "XML", "REST-PAYLOAD" => "true", "paginationInput.entriesPerPage" => "22", "keywords" => "tolkien" } uri.query = URI.encode_www_form(params) puts Net::HTTP.get(uri)
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

gummus3 avatar image
0 Likes"
gummus3 answered
I figured out the problem. I had an extra character in the application id. Thank you for your help.
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.