question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]: [Child] Admin | Sync Logs constantly failing

See original GitHub issue

Description We are configuring CoE for the first time and the “[Child] Admin | Sync Logs” flow always fail.

Component

  • Solution [CenterofExcellenceAuditLogs_1_3_2_managed]
  • Version [e.g. 1.3.2]
  • Flow [Child] Admin | Sync Logs

Steps to reproduce the behavior: Start the “Admin | Sync Audit Logs” and wait for it to fail. It turns out it is caused by its child flow.

Screenshots The “Admin | Sync Audit Logs” result image

Few clusters of the “[Child] Admin | Sync Logs” always fail. image

Parse JSON step output: [ { "message": "Invalid type. Expected String but got Null.", "lineNumber": 0, "linePosition": 0, "path": "[54].ResultStatus", "schemaId": "#/items/properties/ResultStatus", "errorType": "type", "childErrors": [] }, { "message": "Invalid type. Expected String but got Null.", "lineNumber": 0, "linePosition": 0, "path": "[54].ClientIP", "schemaId": "#/items/properties/ClientIP", "errorType": "type", "childErrors": [] },

The rest of the flow: image

Any idea what is wrong? Thank you

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
manuelap-msftcommented, Jan 8, 2021

Hello,

thank you, that’s great news - this won’t have an impact later on, the only fields we use to update the Audit Log table are these ones:

 "CreationTime": {
                "type": "string"
            },
            "Id": {
                "type": "string"
            },
            "Operation": {
                "type": "string"
            },
            "Workload": {
                "type": "string"
            },
            "AppName": {
                "type": "string"
            },
            "ObjectId": {
                "type": "string"
            },
            "UserId": {
                "type": "string"
            },
            "UserKey": {
                "type": "string"
            },

The ResultStatus field is not one we use.

The initial schema was put together based on a sample of an Audit Log event, under the assumption that the schema for Audit Log event is consistent. As that’s not the case, I’ll work on updating the Parse JSON schema to only require fields we use later on and remove all optional fields we don’t.

Thank you for your help in testing this!

1reaction
jazizkacommented, Jan 14, 2021

Hello Manuela, the flow executes successfully since last week. It is solved.

Thank you for your help, Jakub

Read more comments on GitHub >

github_iconTop Results From Across the Web

CoE Child Admin Sync Logs Fails to GetContentDetails
Solved: I am getting an issue with the GetContentDetails action inside of the "[Child] Admin | Sync Logs" prebuilt flow. See message below....
Read more >
Tabletop Diversity - Dec 2001 - Page 41 - Google Books Result
If detected early, many problems can be cured, or managed, ... Or maybe its the fact you stopped bringing baby pictures to soccer...
Read more >
Classical LA. - Nov 2003 - Page 45 - Google Books Result
Some guys in the audience, they always say, "Boy, you went a long way ... When I expanded, it caused a big problem...
Read more >
Understand GWMME error codes
This error doesn't indicate a message failed to migrate—it just means GWMME didn't retain a record of the message migration. The only negative...
Read more >
Veeva CRM Error Reference Guide
Failure Error Type: PASSWORD_CHANGE_REQUIRED cause: Password change required, Error occurs during CLM Administration Sync in Online CRM.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found