Mixpanel log stream fails with "Authenticated user does not have permission"

Problem Statement

We has set up a Mixpanel log stream, but received the following error:

"code": "401",
"message": "Unauthorized",
"details": "{\"error\":\"Authenticated user does not have permission \...


Mixpanel service account role is “Consumer”. But the Username and Secret credentials created on the Mixpanel side need to be for a user with the role of at least “Admin”.


Set the user with the Admin or Owner role.


Mixpanel roles and permissions information:

How to get Mixpanel service account credentials: Service Accounts