Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Custom connector error with oauth connection

Good morning,


I'm currently tring to create a custom connector for Hubspot CRM, but i'm getting a C# error

enter image description here


because of a too long query string.


This is not easy to understand the error, but here are the step.


I configure a custom Connector with an Oauth 2.0 connection


Scheme : https
Host :
Base url : /

Client ID and Client Secret :  from the app created with the hubspot interface.

Authorization url :

Token anf refresh URL :

Scope : contacts


this gave me a redirection URL as expected.

When I try a new connection (with test), i have a popup wich ask me for hubspot connexion, and i can log in correctly, but then i get the error about the query.

Is this a bug ?


Community Support
Community Support

Hi @fdyvoire,


How many characters are included in the query?


I am afraid that there is limit of 500 characters in length for HupSpot. If there are more than 500 characters, it will return the error message you’ve got.


Please check this doc for more details:


Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,268)