call ebay api of bulk_migrate_listing then Error 2003
Asked Answered
E

1

9

I tried to call https://api.ebay.com/sell/inventory/v1/bulk_migrate_listing, then response code is 2003

My request is :

{
    "requests": [
        {
            "listingId": "160009220563"
        }
    ]
}

Response body like this :

{
    "errors": [
        {
            "errorId": 2003,
            "domain": "ACCESS",
            "category": "APPLICATION",
            "message": "Internal error",
            "longMessage": "There was a problem with an eBay internal system or process. Contact eBay developer support for assistance",
            "parameters": [
                {
                    "name": "reason",
                    "value": "Failed to transform underlying error response, see logs."
                }
            ]
        }
    ]
}
Emmettemmey answered 15/10, 2019 at 21:15 Comment(1)
I say this as a comment, because it is an unworthy answer, but an ebay basic subscription includes 600 listings per month. So if you only have 600 items in store, delete, start over, then don't list anything for the rest of the month. I hope a better answer comes up, but meanwhile, that's what I'm doing.Rutter
L
0

I know it's an old question, but maybe it can help other people (at least who use .NET framework to build these requests).

This type of error can indicate problems in the headers of your payload.

Please check the Content-Type header of your POST request.

If you use a StringContent to set the content of the POST request, it will probably change your Content-Type header to "text/plain" (if you don't use the specific constructor overload), while it must be "application/json".

Example:

string productsJson = JsonConvert.SerializeObject(myProducts);
StringContent content = new StringContent(jsonContent, System.Text.Encoding.UTF8, "application/json");

using (HttpResponseMessage response = await ebayClient.PostAsync(requestUri, content))
{
    ...
}
Lael answered 14/5 at 10:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.