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

System error for getFulfillmentPolicies and getFulfillmentPolicy

Heya,

 

We're currently setting up our API on the sandbox environment and all policy endpoints are working fine except for the fulfillment part.

 

We tried a few ways to create policies and createFulfillmentPolicy returns success with the info of the created policy but the endpoints to fetch the created policy(s) fail:

 

Internal Server Error (500) Response: {"errors":[{"errorId":20500,"domain":"API_ACCOUNT","category":"APPLICATION","message":"System error."}]}

 All of these endpoints return the same error from above:

  • getFulfillmentPolicies
  • getFulfillmentPolicy
  • getFulfillmentPolicyByName

On the other hand, deleteFulfillmentPolicy works with the ID any of the fulfillment policies we created...

 

Here's an example of our policy (this is one that works on production but we've also tried various different versions)

 

 

$policy = [
    'categoryTypes' => [
        [
            'name' => 'ALL_EXCLUDING_MOTORS_VEHICLES',
        ],
    ],
    'handlingTime' => [
        'unit' => 'DAY',
        'value' => 1,
    ],
    'marketplaceId' => 'EBAY_DE',
    'description' => 'Standard Fulfillment Policy',
    'name' => 'Standard Fulfillment Policy',
    'shipToLocations' => [
        'regionIncluded' => [
            [
                'regionName' => 'AT',
            ],
            [
                'regionName' => 'Europe',
            ],
            [
                'regionName' => 'EuropeanUnion',
            ],
        ],
        'regionExcluded' => [
            [
                'regionName' => 'CH',
            ],
        ],
    ],
    'shippingOptions' => [
        [
            'optionType' => 'DOMESTIC',
            'costType' => 'FLAT_RATE',
            'shippingServices' => [
                [
                    'sortOrder' => 1,
                    'shippingCarrierCode' => 'UPS',
                    'shippingServiceCode' => 'DE_UPSExpress',
                    'shippingCost' => [
                        'currency' => 'EUR',
                        'value' => 0,
                    ],
                    'additionalShippingCost' => [
                        'currency' => 'EUR',
                        'value' => 0,
                    ],
                    'freeShipping' => true,
                    'buyerResponsibleForShipping' => false,
                    'buyerResponsibleForPickup' => false,
                ],
            ],
            'shippingDiscountProfileId' => '0',
            'shippingPromotionOffered' => false,
        ],
        [
            'optionType' => 'INTERNATIONAL',
            'costType' => 'FLAT_RATE',
            'shippingServices' => [
                [
                    'sortOrder' => 1,
                    'shippingCarrierCode' => 'GENERIC',
                    'shippingServiceCode' => 'DE_ExpressInternational',
                    'shippingCost' => [
                        'currency' => 'EUR',
                        'value' => 0,
                    ],
                    'additionalShippingCost' => [
                        'currency' => 'EUR',
                        'value' => 0,
                    ],
                    'freeShipping' => false,
                    'shipToLocations' => [
                        'regionIncluded' => [
                            [
                                'regionName' => 'AT',
                            ],
                            [
                                'regionName' => 'Europe',
                            ],
                            [
                                'regionName' => 'EuropeanUnion',
                            ],
                        ],
                    ],
                    'buyerResponsibleForShipping' => false,
                    'buyerResponsibleForPickup' => false,
                ],
            ],
            'shippingDiscountProfileId' => '0',
            'shippingPromotionOffered' => false,
        ],
    ],
    'globalShipping' => false,
    'pickupDropOff' => false,
    'freightShipping' => false,
];

 

 

 

Everything is working just fine with the production API, we can change and get our fulfillment policies without any issues.

 

Any help would be much appreciated.

Message 1 of 3
latest reply
2 REPLIES 2

System error for getFulfillmentPolicies and getFulfillmentPolicy

We are experiencing the same issue and cannot verify the listing.

Message 2 of 3
latest reply

System error for getFulfillmentPolicies and getFulfillmentPolicy

Same for me.  Also tried with brand new test accounts; the result is the same

Message 3 of 3
latest reply