403 User does not have sufficient permissions for this advanced segment

This Google Analytics API error means that the selected advanced segment is not available to the account you are using. This usually happens when you share a report with a coworker.

Advanced segments in Google Analytics are personal assets and are associated with your login account. If you want to share a custom segment with others, see this Google Analytics help article.

Alternatively, with the Analytics Edge connectors for Google Analytics, you can add the segment as a dynamic segment in the query. Dynamic segments are independent of the accounts and are saved in the workbook with the query.