try doing it in two stages. See what you get as a result when you do the Base64ToString on the attachment Content Bytes.
The other problem could be that the ContentBytes of the attachment will normally contain both Content and ContentType properties. You really only want the JSON from the Content property.
gives you:
{"Document":{"name":"Research View Alerts","queries":[{"id":"5044249b-1ddc-4f1f-8bba-6065c685a71c","result":{"columns":[{"caption":"Sta3n","uniqueName":"[DimToFacility].[Sta3n]","type":null,"dataType":"BigInteger"},{"caption":"Alert Type","uniqueName":"[FactViewAlerts].[Alert Type]","type":null,"dataType":"String"},{"caption":"EmailAddress","uniqueName":"[RecipientStaff].[EmailAddress]","type":null,"dataType":"String"},{"caption":"ManagerEmail","uniqueName":"[RecipientStaff].[ManagerEmail]","type":null,"dataType":"String"},{"caption":"RecipientStaffName","uniqueName":"[RecipientStaff].[RecipientStaffName]","type":null,"dataType":"String"},{"caption":"ServiceSection","uniqueName":"[RecipientStaff].[ServiceSection]","type":null,"dataType":"String"},{"caption":"Oldest Alert Date","uniqueName":"[measures].+[120967cc-640c-464a-8d87-95028e3c52c9]","type":null,"dataType":"Double"},{"caption":"Alerts","uniqueName":"[Measures].[Alerts]","type":null,"dataType":"Double"}],"data":[["612","All","","","Smith, John","GEN MED RESEARCH","11/21/2025",7.0],["612","All","Superman@email.com","Supervisor@email.com","Kent, Clark","RESEARCH","11/22/2025",2.0],["612","All","Batman@email.com","Batmansupervisor@email.com","Wayne, Bruce","RESEARCH","11/21/2025",1.0]]}}],"tabulates":[]}}
Then it should work unless that's being interpreted as a string instead of JSON.
----------------------------------------------------------------------------------
If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!
Paul Papanek Stork, MVP
Blog: https://www.dontpapanic.com/blog