customer portal apis
50 TopicsFail to get locations from Work Visit API
Hi all, this is the error I'm getting when calling /v1/orders/workvisit/locations { "errors": [ { "code": "EQX-161-500", "message": "The system had encountered an unexpected problem and we are tracking it with error code." } ], "ticketId": "201023052138751" } Any ideas?5.5KViews0likes7Comments400 Error with Users_v2 API
Hello, Without making any changes to my scripting, I am now getting the following error message when attempting to POST (create a new user) to the Users_v2 API: {"errors":[{"code":"EQX-212-1208","message":"object instance has properties which are not allowed by the schema: %s","messageParams":[["companyName","contactDetails","firstName","lastName","locale","timezone","username"]]},{"code":"EQX-212-1218","message":"instance type (%s) does not match any allowed primitive type (allowed: %s)","messageParams":["OBJECT",["array"]]}],"ticketId":"220127161517021"} I am sending all the required parameters as defined in the API definition (https://developer.equinix.com/catalog/usersv2#operation/Create%20a%20user). Can someone help me interpret what this response means and why I am suddenly getting it without any changes on my end? Thank you.4.3KViews0likes5CommentsIssue with Shipments API
I'm currently getting a 400 response without any sort of indication of what the problem may be. Here is an example request that I am sending with some information redacted: { "ibxLocation": { "cages": [ { "cage": "AM2:1234", "accountNumber": "1234" } ], "ibx": "AM2" }, "customerReferenceNumber": null, "serviceDetails": { "estimatedDateTime": "2019-07-27T00:00:00+00:00", "shipmentDetails": { "noOfBoxes": 3, "trackingNumber": [ "123123123" ], "inboundType": "CARRIER", "description": null, "carrierName": "UPS" } }, "contacts": [ { "contactType": "NOTIFICATION", "userName": "test@test.com", "name": "First Last" }, { "contactType": "ORDERING", "userName": "test@test.com", "name": "First Last" } ] } Please let me know if you need any information so that we can resolve this issue.4.3KViews0likes5CommentsShipping API v2 list issue
Hi, I am using the API to open inbound orders and I received a call today that the Shipping team cannot scan the tracking numbers and associate them to a ticket. It looks like the API is putting the tracking number string into a list instead of a string which is causing this, ['626467467487', '626467467454', '626467467465', '626467467476']. I have my app posting this in a string format using the catalog on the developer portal. The portal does state that the tracking numbers need to be inside brackets so could that be the reason? "carrierTrackingNumbers": [ "DHL930182000" ], That is the example from the catalog, I believe the brackets are causing the issue here with the Shipping department at the site.3.5KViews0likes3CommentsEQ-2016010 Error With Outbound Shipments
I am passing JSON for ordering outbound shipments. The JSON is below but its pretty much that same as my inbound JSON which is fine. The issue I am getting with the outbound order is that I am getting this error: b'[{"errorCode":"EQ-2016010","errorMessage":"One or more properties are invalid","correlationId":"105073684364570","additionalInfo":[{"property":"details.carrierTrackingNumbers","reason":"details.carrierTrackingNumbers should NOT have more than 1 items","value":["123456789", "987654321"]}]}]' My JSON: { "type": "OUTBOUND", "customerReferenceId": "x", "requestedDateTime": "2023-04-12T07:00:00.000Z", "cageId": "x", "details": { "carrier": "FEDEX", "numberOfBoxes": 2, "declaredValue": 1, "declaredValueCurrency": "USD", "carrierTrackingNumbers": [ "123456789", "987654321" ], "shipmentLabelRequired": false } } Just for reference this is my inbound which is working as expected. { "type": "INBOUND", "customerReferenceId": "x", "requestedDateTime": "2023-04-12T07:00:00.000Z", "cageId": "x", "details": { "carrier": "FEDEX", "numberOfBoxes": 2, "carrierTrackingNumbers": [ "123456789", "987654321" ], "cageDelivery": false } } Not really sure why I am getting that error, just hoping its something simple. This happens on both the sandbox and in prod.3.5KViews0likes3CommentsWhen 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.9KViews0likes2CommentsError EQ-2016101 when creating inbound and outbound shipments in sandbox
Hi all I am testing how to create inbound and outbound orders via the API. I am using the equinix sandbox and following https://developer.equinix.com/dev-docs/ecp/getting-started/schedule-shipments#step-4-schedule-inbound-shipment I am able to get a token, list users, list sites, etc. When I try to create an inbound shipment, I have the following $ curl -X POST "https://sandboxapi.equinix.com/colocations/v2/orders/shipments" -H "content-type: application/json" -H "authorization: Bearer TOKEN" -d @equinix-inbound.json -v < HTTP/1.1 500 Internal Server Error < Content-Length: 187 < Content-Type: application/json; charset=utf-8 < ETag: W/"bb-fFnLakTrYhk69LoXetj3crBTst4" < x-powered-by: Express < x-apigee-message-id: 79ff47bf-5867-4677-bf9c-02c3631e25ac < x-request-id: 79ff47bf-5867-4677-bf9c-02c3631e25ac < x-apigee-dp-color: 174 < x-apigee-region: us-west1 < x-apigee-organization: eqx-apg-prod < x-apigee-environment: extsbx < x-apigee-proxy: /organizations/eqx-apg-prod/environments/extsbx/apiproxies/uecp_colocations/revisions/2 < x-apigee-proxy-basepath: /colocations/v2/orders < x-apigee-fault-flag: false < x-apigee-fault-source: target < x-apigee-fault-code: messaging.adaptors.http.flow.ErrorResponseCode < x-apigee-fault-policy: null/null < x-apigee-fault-revision: /organizations/eqx-apg-prod/environments/extsbx/apiproxies/uecp_colocations/revisions/2 < x-apigee-target-latency: 3534 < x-envoy-upstream-service-time: 3566 < Server: istio-envoy < Date: Wed, 06 Mar 2024 13:34:33 GMT < Connection: close < Set-Cookie: ADRUM_BT=R:0|g:411f30ae-de4c-44c5-9117-45f0db7d858c211|h:e; Path=/; Expires=Wed, 06 Mar 2024 13:35:03 GMT < * Closing connection [{"errorCode":"EQ-2016101","errorMessage":"The server has encountered an unexpected error. We apologize for the inconvenience. Please try again later.","correlationId":"240306133433819"}]% This is the data I am providing: $ cat equinix-inbound.json { "type": "INBOUND", "requestedDateTime": "2024-03-25T10:00:00Z", "cageId": "AM8:13:99XTM", "customerReferenceId": "My Ticket", "description": "faulty optics", "details": { "carrier": "DHL", "numberOfBoxes": 1, "carrierTrackingNumbers": [ "t1Z086DK96424456780" ] } } Based on https://developer.equinix.com/dev-docs/ecp/error-handling/500 , I need to try later, waited a couple of hours, and same issue (with new token) I have the same issue when creating outbound shipments. $ curl -X POST "https://sandboxapi.equinix.com/colocations/v2/orders/shipments" -H "content-type: application/json" -H "authorization: Bearer CQY4dFMZoyvHTCAiRoM4hKFCokiy" -d @equinix-outbound.json -v < HTTP/1.1 500 Internal Server Error < Content-Length: 187 < Content-Type: application/json; charset=utf-8 < ETag: W/"bb-6B1fQindU9GqFhXPA+40k7P7Tk0" < x-powered-by: Express < x-apigee-message-id: 35843f21-4e43-43dc-bcfc-20f62aea8141 < x-request-id: 35843f21-4e43-43dc-bcfc-20f62aea8141 < x-apigee-dp-color: 174 < x-apigee-region: us-west1 < x-apigee-organization: eqx-apg-prod < x-apigee-environment: extsbx < x-apigee-proxy: /organizations/eqx-apg-prod/environments/extsbx/apiproxies/uecp_colocations/revisions/2 < x-apigee-proxy-basepath: /colocations/v2/orders < x-apigee-fault-flag: false < x-apigee-fault-source: target < x-apigee-fault-code: messaging.adaptors.http.flow.ErrorResponseCode < x-apigee-fault-policy: null/null < x-apigee-fault-revision: /organizations/eqx-apg-prod/environments/extsbx/apiproxies/uecp_colocations/revisions/2 < x-apigee-target-latency: 2158 < x-envoy-upstream-service-time: 2191 < Server: istio-envoy < Date: Wed, 06 Mar 2024 13:36:33 GMT < Connection: close < Set-Cookie: ADRUM_BT=R:0|g:46d6f9be-1158-4cf6-b24a-8eeb3140433d214|h:e; Path=/; Expires=Wed, 06 Mar 2024 13:37:03 GMT < * Closing connection [{"errorCode":"EQ-2016101","errorMessage":"The server has encountered an unexpected error. We apologize for the inconvenience. Please try again later.","correlationId":"240306133633192"}]% And this is the data file: cat equinix-outbound.json { "type": "OUTBOUND", "requestedDateTime": "2024-03-25T10:00:00Z", "cageId": "AM8:13:99XTM", "customerReferenceId": "My Ticket", "description": "Faulty optics", "details": { "carrier": "DHL", "numberOfBoxes": 1, "declaredValue": 1000, "shipmentLabelRequired": false, "carrierTrackingNumbers": [ "t1Z086DK96424456780" ] } } Does the sandbox support these type of queries? The cage id I use in my test is a real one. Regards tomasSolved2.4KViews0likes3Comments