developer
171 TopicsPermissons Issue
I recevved the above error while trying to add a workvisit request. I'm doing some integration testing and trying to perform some negative tests so my software is able to report failures accurately. The error in itself is not really very informative so if anyone else who has seen this knows the cause I'd love to know! { "errors": [ { "code": "EQX-161-403", "message": "Insufficient permission to access the resource or invoke the request." } ], "ticketId": "190806075245093" }6.6KViews0likes9CommentsFail 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.4KViews0likes7CommentsFilter "portName" on connection list not working
Hello, for the endpoint GET https://api.equinix.com/ecx/v3/l2/seller/connections I use it with the profileId filter and I get back many results. I go from page to page to list the connection I have on one specific port. I would like to reduce those calls using the filter portName. However the result is always empty : { "isFirstPage": true, "isLastPage": true, "totalCount": 0, "pageSize": 20, "content": [], "pageNumber": 0 } Have anyone succeeded in getting this to work ? Best regards,5.3KViews0likes7Comments400 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.2KViews0likes5CommentsIs there a best practice to fetch all CIRCUIT,SENSOR data?
Hello, I have a question. ## Question. Is there a best practice to get all CIRCUIT,SENSOR data? ## Background We are developing and operating a monitoring system for current and temperature sensors in a Datacenter. We would like to import data from Smartview into our monitoring system and are considering using the API. We need data for each CIRCUIT and SENSOR, but if we use the following API, we can only get summary data for the specified unit. === e.g. Current (Power_v1) request ❯ curl --request GET \ --url 'https://api.equinix.com/power/v1/current?accountNo={accountNo}&ibx={ibx}&levelType=ibx&levelValue={ibx}' \ --header 'accept: application/json' \ --header 'authorization: Bearer {bearer}' \ --header 'content-type: application/json' Next, we considered how to obtain a list of CIRCUIT,SENSOR from the HierarchyAPI and request one of each. However, we found that the API limits the number of requests to 1,000 per day. We have more than 1,000 CIRCUITs and SENSORs that we want to retrieve and cannot monitor with 1,000 requests/day. ref: https://developer.equinix.com/forum/power-api-interval-queries Is there a better way to get all CIRCUIT,SENSOR values using Smartview API? Thank you.Solved4.1KViews0likes4CommentsError when setting up multiple connections
I sent a request to setup a primary and secondary connection with the body containing data structured like the following: { "data": [ { "type": "EVPL_VC" }, { "type": "EVPL_VC" } ] } When sending this I get the following error response which is obviously not correct: [ { "errorCode": "EQ-3142501", "errorMessage": "Invalid argument value passed", "details": "Invalid request type", "correlationId": "null-0000-103911409258-api", "additionalInfo": [ { "property": "/type", "reason": "Allowed values: EVPL_VC, EPL_VC, IP_VC, ACCESS_EPL_VC" } ] } ] The type field in both cases is set to a valid value, EVPL_VC. If I just create a single connection with either of the entries of the data array the connections setup properly.3.8KViews0likes4CommentsAPI mismatch introduced on 12 February 2022
Hi, We noticed that on 12 February you introduced a breaking change on the API which is undocumented. When doing https://developer.equinix.com/catalog/buyerv3 the response does no longer contain "isLastPage" but contains "last" which is not documented. { "first": "TRUE", "last": "FALSE", "number": 0, "numberOfElements": 20, "size": 20, "sort": [ { "ascending": "FALSE", "descending": "TRUE", "direction": "DESC", "ignoreCase": "FALSE", "nullHandling": "NATIVE", "property": "created_date" } ], "totalElements": 8051, "totalPages": 403 } Can we have an explanation on this and get it back aligned with the documentation?Solved3.6KViews0likes4CommentsFabric API generate token using client_credentials
I am trying to generate token using this method but in Postman: Access Token using grant_type = client_credentials (Recommended). POST 'https://api.equinix.com/oauth2/v1/token' -H "content-type: application/json" -d '{ "grant_type": "client_credentials", "client_id": "******", "client_secret": "****" }' I have the body set as specified in the link: https://developer.equinix.com/docs?page=/dev-docs/fabric/overview but when I execute the query I get this error: { "errorDomain": "apps-fqa", "errorTitle": "Unable to Process the Request", "errorCode": "S1002", "developerMessage": "Failed to execute the ExtractVariables: extractjsonparams", "errorMessage": "Unable to Process the Request, Please try again later." } I have a client_id and client_sercret generated and have tested it with Terraform. What am I missing? Thanks!Solved3.5KViews0likes3CommentsShipping 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.5KViews0likes3Comments