Receiving a 400 BAD_GRANT_TYPE error when requesting a client_credentials token from HubSpot’s OAuth

Hi @sylvain_tirreau and thanks so much for your help!
Hi @EdoardoP, @emmett_p, @AlexShestakov and @albandum, to understand where the issue is coming from, can you please confirm the following:
1. Can you please make sure that you are on 2025.2 and not using Serverless Functions.
If you are using Serverless Functions, then you would need to be on 2025.1. Here is a documentation about this: “Navigating Serverless Functions on HubSpot’s New Developer Platform”.

2. The following scopes are needed on the API request’s token, but don’t need to be explicitly requested by the project:
webhooks.journal.data.access: access journal data and snapshots.
webhooks.journal.subscription.read: retrieve subscription information.
webhooks.journal.subscription.manage: create, update, and delete subscriptions.
webhooks.journal.snapshot.manage: create and manage object snapshots.
So, you will need a project on our new platform, but you won’t need the 4 scopes above in your project’s list of Scopes.
Please make sure to remove the scopes listed above.
3. Are you still seeing this behavior after following steps 1 and 2?
Thanks and let us know how it goes!
Bérangère