why the server respond with INVALID_AUTHENTICATION
StatusCodeError: 401 - {"status":"error","message":"Authentication credentials not found. This API supports both API Key and OAuth 2.0 authentication and you can find more details at https://developers.hubspot.com/docs/methods/auth/oauth-overview","correlationId":"060d4bba-aa7e-4884-8202-d53e7bdbbf28","category":"INVALID_AUTHENTICATION"}
this user already multiple call on hubspot and didn’t had any issue, now we experience this one
This error is encountered when you pass no authentication value when you’re making your calls.
Depending on how the calls are being made, you’ll want to ensure your authentication method, whether this is your Hapikey or a bearer-token from OAuth is included in the request itself.
As an example, if we use a REST client like Postman, we can include our hapikey in the request URL like this: