Skip to content

International Street API Documentation Incorrectly Suggests Using .WithLicense() Method #51

Open
@brendanloneyrsmrvm

Description

@brendanloneyrsmrvm

Issue Description

The SDK documentation for the International Street API contains misleading implementation guidance. When following the example code that uses .WithLicense(), the API returns a 402 Payment Required error, despite having valid credentials. However, the same code works correctly when the .WithLicense() method is removed.

Current Behavior

  • Using .WithLicense(new List<string> { "international-global-plus-cloud" }) results in:
    "Payment Required: There is no active subscription for the account associated with the credentials submitted with the request."
  • Removing the .WithLicense() call allows the API to function as expected.

Example Code

// Fails with 402 Payment Required
var client = new ClientBuilder(authId, authToken)
    .WithLicense(new List<string> { "international-global-plus-cloud" })
    .BuildInternationalStreetApiClient();

// Works correctly
var client = new ClientBuilder(authId, authToken)
    .BuildInternationalStreetApiClient();

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