action-destinations icon indicating copy to clipboard operation
action-destinations copied to clipboard

Stratconn 2695 eliminate 403 missing scopes errors

Open hvardhan-unth opened this issue 1 year ago • 0 comments

Over the last 30 days, 1.3% of the app's API calls (2M) resulted in 403 errors. All of these are due to some 59 portals missing the analytics.behavioral_events.send scope necessary to access the Custom Behavioral Events API (POST /events/v3/send). So, in this PR applied check on access-token for a scope for Custom behavioural event action when user perform the action.

JIRA ticket link:- https://segment.atlassian.net/browse/STRATCONN-2695

Testing

Include any additional information about the testing you have completed to ensure your changes behave as expected. For a speedy review, please check any of the tasks you completed below during your testing.

hvardhan-unth avatar Jul 24 '23 06:07 hvardhan-unth