Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

HubSpotOAuthApi Authorize and Refresh Methods Return Null Token with Valid Input #102

Copy link
Copy link
Open
@mdbrooks48

Description

@mdbrooks48
Issue body actions

Describe the bug
The HubSpotOAuthApi Authorize and Refresh methods return null with valid authorization codes and refresh token values.
The root cause is that RestSharp is returning UnsupportedMediaType (415) response code.

Repro Steps
Steps to reproduce the behavior:

  1. Get a valid Authorization code or Refresh Token (via Postman).
  2. Create an instance of HubSpotApi with valid ClientId, Client Secret, and App Ids for a HubSpot Application.
  3. Call Authorize with the Authorization Code or Refresh with a valid Refresh Token (or a new instance of HubSpotToken with a RefreshToken property with a valid Refresh Token).

Expected behavior
A valid HubSpotToken with the RefreshToken and AccessToken properties populated

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.