Forum Discussion

API_User's avatar
API_User
Equinix Employee
4 years ago

sandbox api: "Error in getting user's profile"

I requested a bearer token ... no problem.

As I try to get the userport with that valid bearer token, I get an error. Did I miss something ?

Do I need an extra acceptance from our account manager to use my account in the sandbox ?

my curl request:

curl -ki --request GET \ 
--url https://sandboxapi.equinix.com/ecx/v3/port/userport \
--header 'accept: application/json' \
--header 'authorization: Bearer ' \
--header 'content-type: application/json'

the http response:

HTTP/1.1 500 Internal Server Error

with this error body:

{"errorCode":"IC-USR-014-01","errorMessage":"Error in getting user's profile"}

 

  • API_User's avatar
    API_User
    Equinix Employee
    playground is working, sandbox does not.
    Maybe the sandbox is not working ?
  • API_User's avatar
    API_User
    Equinix Employee
    Hi there,
    Could you please confirm that you can access this API in the Production environment? If you're able to access this API in the Production environment, I'd suggest you send a mail to api-support@equinix.com with your username for detailed analysis.

    -Equinix Developer Community