10 May 2024 03:18 PM - edited 10 May 2024 03:21 PM
Hi,
I need some help I am. I am trying to ingest a metric when I get the flagValue == 0. But when it gets a 0 back it says that "Missing required permission". According to the documentation"Tip This operation requires the scope storage:metrics:write. " which I have added below. I have restart multiple times and still no success
Logfile
2024-05-10T16:09:23.003Z DEBUG [AUTH] Using SSO-URL 'https://sso.dynatrace.com'
2024-05-10T16:09:23.172Z ERROR Request failed: {"code":403,"message":"Missing required permission."}
2024-05-10T16:09:23.231Z ERROR Request failed: {"code":403,"message":"Missing required permission."}
2024-05-10T16:09:23.797Z DEBUG [TELEMETRY] Successfully closed OpenKit connection
Solved! Go to Solution.
14 May 2024 10:20 AM
From reviewing your question, I can see you've correctly edited your scopes as highlighted in the documentation. However, what may be causing the issue is that you might not have the correct the "required permissions" that you need to write metrics. This will need to be changed in the IAM policies: https://docs.dynatrace.com/docs/manage/access-control/manage-user-permissions-policies/iam-policy-mg...
You can also read more about AppEngine Policies in this blog.
If your not able to do this you may need to contact your Dynatrace Admin to help you set this up. Hope this helps. Thanks, Penny
14 May 2024 10:24 AM - edited 14 May 2024 10:24 AM
Hi @PennyScully ,
Thank you, I think that is the issue. I am an Admin so will check and if required add the correct rights and let you know.
Appreciate the assistance.
14 May 2024 10:51 AM
@PennyScully that is what exactly was missing. After adding the rights to my user it worked 100%
14 May 2024 11:03 AM
Fantastic! Glad it worked out 💪