cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Internal server encountered while calling GetStoreCategories.

I am getting below response when trying to call the getStoreCategories rest API with all correct parameters and request body:
{
"errors":[

{

"errorId":225000,

"domain":"API_STORES",

"category":"APPLICATION",

"message":"Internel server error encountered. If this problem presists, contact the eBay Developers Program for support."

}

]

}

Message 1 of 8
latest reply
7 REPLIES 7

Internal server encountered while calling GetStoreCategories.

Are you sending a request in Sandbox or Production?

Can you share url of the request?

I just sent a request and got category back.

GET https://api.ebay.com/sell/stores/v1/store/categories

{
    "storeCategories": [
        {
            "categoryId": "1",
            "categoryName": "Other",
            "order": 0,
            "level": 1
        }
    ]
}
C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp
Message 2 of 8
latest reply

Internal server encountered while calling GetStoreCategories.

Yes, I am using the sandbox endpoint of the getStoreCatgories. And thank you for sharing the GitHub link of the SDK. I will definitely give a try.

 

 

Thanks

Message 3 of 8
latest reply

Internal server encountered while calling GetStoreCategories.

Hello @znts-wholesale-global , I checked the C# wrapper for eBay REST API you shared, But it didn't provide any wrapper functions or methods for getting the seller's store categories nor any store related details. And also I double checked everything about the rest API but you are getting the response as you are using the production URL. Can you please check with sandbox URL and let me know if you are able to get successful response or not ?

 

 

Thanks

Message 4 of 8
latest reply

Internal server encountered while calling GetStoreCategories.

I have added a method for getStoreCategories in the latest relesae

https://github.com/CMS365-PTY-LTD/EbaySharp?tab=readme-ov-file#get-store-categories, Sandbox is broken most of the times, so I would say switch your testing to PROD.

C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp
Message 5 of 8
latest reply

Internal server encountered while calling GetStoreCategories.

Thank you @znts-wholesale-global  for your answer, I am trying to integrate your SDK into my demo project. But using sandbox details, it's throwing errors at the moment PROD account is not set up yet. So can you provide me any link or reference that can guide me for the same? 

 

 

Thanks

Message 6 of 8
latest reply

Internal server encountered while calling GetStoreCategories.

I did not try with Sandbox, you will encounter lots of issues in Sandbox.

May I know what are you trying to achieve by getting store categories?

C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp
Message 7 of 8
latest reply

Internal server encountered while calling GetStoreCategories.

Ok, I am trying to get the seller's store categories so that I can store it on nopCommerce side and map it to nopcommerce categories.

Message 8 of 8
latest reply