Forum Discussion

API_User's avatar
API_User
Equinix Employee
3 years ago

When creating INBOUND shipment I get 504 (gateway time-out) or 204 (No Content) instead of 201 (Created)

I use shipment v2 API in playground.
URL of my request: https://playgroundapi.equinix.com/colocations/v2/orders/shipments

JSON data of my request:

{
    "type": "INBOUND",
    "requestedDateTime": "2023-03-02T10:45:41Z",
    "cageId": "1234",
    "details": {
        "carrier": "OTHER",
        "carrierName": "New Carrier",
        "numberOfBoxes": 2,
        "carrierTrackingNumbers": [
            "t1Z294AK92654678989",
            "t1Z086DK96424456780"
        ]
    }
}


I get two possible responses for this same request:

504 gateway time-out error

{
    "fault": {
        "faultstring": "Gateway Timeout",
        "detail": {
            "errorcode": "messaging.adaptors.http.flow.GatewayTimeout"
        }
    }
}

204 No Content

However according to API docs, I should get 201 and the order id.

2 Replies

  • API_User's avatar
    API_User
    Equinix Employee
    Hi! Thank you for your help! Unfortunately the repsonse to my request is the same. Additionally I discovered that it doesn't matter what the json content is, I always receive 204 (No Content)
  • API_User's avatar
    API_User
    Equinix Employee
    Hi there,
    Thanks for writing to Equinix and highlighting this issue.
    We have fixed this misbehaviour and would like to request you to retry the request.
    Thanks!

Featured Places

  • Node avatar for Discussions

    Discussions

    Engage with industry experts, share insights, ask questions, and grow your network.
  • Node avatar for Ideas

    Ideas

    We're listening! Submit your ideas to shape the future of Equinix!
  • Node avatar for Groups

    Groups

    Ready to collaborate? Join a Group or upcoming beta program.
  • Node avatar for What's New

    What's New

    Stay ahead with the latest from Equinix. Discover new product announcements, insightful tutorials, and practical use cases.
  • Node avatar for Events

    Events

    Your Guide to Upcoming Events - Online, Hybrid, and In-Person!