I’m receiving the error message below when I try to retrieve campaings email using postman (/marketing/v3/emails)
could you please help with this issue, thanks!
{
"category": "MISSING\_SCOPES",
"correlationId": "f1eb1936-a52c-4422-a4ed-d9782030b957",
"errors": \[
{
"context": {
"requiredGranularScopes": \[
"content"
]
},
"message": "One or more of the following scopes are required."
}
],
"links": {
"scopes": "https://developers.hubspot.com/scopes"
},
"message": "This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.",
"status": "error"
Hi @barb-mel and welcome, it’s a pleasure to have you here!
Thanks for asking the HubSpot Community!
Here are some resources that might be of interest:
- Get all marketing emails
- Public permissions
- Scopes
Also, I’d love to put you in touch with our Top Experts: Hi @SteveHTM, @Anton and @sylvain_tirreau do you have suggestions to help @barb-mel, please?
Have a wonderful weekend and thanks so much!
Bérangère
@barb-mel - is there an issue in updateing the avalable API scopes to include the missing ‘content’ scope? That would seem to be the substance of the error report.
Looks like API don’t have all the required scope. When you look into the API doc you can find the required scope to hit the particular end point. Here you need at content scope in your API so please add that scope and re hit the API.
I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!