-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
When calling the GetServiceProfileByUuid method for a specific service profile UUID (e.g., "59732d52-32d4-421e-9b86-6b5219720d2d"), the response is nil, and the following error message is returned: no value given for required property description.
FYI the serviceProfile have a description :
"description": "<p>This profile is used to connect to the Equinix Solution Validation Center in CH. Please contact the Solution Validation Center team with any questions (gsa-svc@equinix.com).</p>"
This issue also affects the GetServiceProfiles method. When one of the service profiles in the list is affected by this, the entire list is returned as nil.
Here’s a code snippet that reproduces the issue:
import (
"context"
"fmt"
"os"
openapiclient "github.com/equinix/equinix-sdk-go/services/fabricv4"
)
func main() {
serviceProfileId := "59732d52-32d4-421e-9b86-6b5219720d2d" // Service Profile UUID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
auth := context.WithValue(context.Background(), openapiclient.ContextAccessToken, "token")
resp, r, err := apiClient.ServiceProfilesApi.GetServiceProfileByUuid(auth, serviceProfileId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ServiceProfilesApi.GetServiceProfileByUuid``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
fmt.Fprintf(os.Stdout, "Response from `ServiceProfilesApi.GetServiceProfileByUuid`: %v\n", resp)
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels