In Postman there’s a juxtapostition though, it’s saying:
Authentication credentials not found. This API supports both API Key and OAuth 2.0 authentication and you can find more details at Accounts Dashboard | HubSpot
I have a private app, and I’m wanting to add a Products scope, currently when we try and pull the data (most of the scopes work) but “Products” shows “0” which I know after running cURL, is not correct. Is there any advice I could get.
Normally, the API would give a response that the scopes are not correct if that is the case.
This error makes it seem that you do not pass the private app token the right way. Did you set it in Postman through the ‘Authorization’ tab and did you select the ‘Bearer’ authentication method?
If so, you could try adding the line item scopes.
These are the current scopes I have invoked. As you can see /objects/products does get a callback when I use cURL, but my question is if I wanted to integrate this into a data lake, there is no “Products” scope, so how would I pull the data from Products?
Hey Team! Following up on this issue. It has been resolved, and was due to the response header formatting. be sure to remove your newlines ‘\n’ when pasting code over from examples on the web.