Skip to content

Error calling DocumentsCreate: Operation is not supported on this platform. #3

@naulacambra

Description

@naulacambra

I'm trying to use this Nuget in a .Net Standard project.

This is my code

// Configure API key authorization: Token
Configuration.Default.AddApiKey("Authorization", "MYTOKEN");
Configuration.Default.AddApiKeyPrefix("Authorization", "Token");
// Configure API key authorization: Base Path
Configuration.Default.BasePath = "https://cedec-api.signrequest.com/api/v1";

var apiInstance = new DocumentsApi();
var data = new Document
{
    FileFromUrl = "https://docs.google.com/document/d/1oI2R1SxfMNZXiz3jCQvorpoklF9xq_dCJnOpkI-zo80/edit?usp=sharing"
};

try
{
     Document result = apiInstance.DocumentsCreate(data);
     Debug.WriteLine(result);
}
catch (Exception e)
{
     Debug.Print("Exception when calling DocumentsApi.DocumentsCreate: " + e.Message);
}

Almost the same that you have in your example, but I'm receiving an error.

Error calling DocumentsCreate: Operation is not supported on this platform.

What I'm doing wrong?

BTW, I'm using a sandbox

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions