Skip to content

Problems to generate the Usage File report.  #94

@martinconstante

Description

@martinconstante

Invalid structure for initialization of UsageFile.
Error: {0: {'stats': {'uploaded': ['Not a valid string.'], 'validated': ['Not a valid string.']}}}.
JSON data: [{'id': 'UF-2020-04-0267-4519', 'name': 'Google_TEST_CRD-37918-65744-40857_MP-65669_2020-04-22 00:00:00', 'status': 'ready', 'vendor': {'id': 'VA-610-138', 'name': 'IMC Gamma Team Vendor'}, 'provider': {'id': 'PA-800-926', 'name': 'IMC Gamma Team Provider'}, 'environment': 'test', 'marketplace': {'id': 'MP-65669', 'name': 'Marketplace EEUU'}, 'product': {'id': 'PRD-861-570-450', 'name': 'Google', 'icon': '/media/VA-610-138/PRD-861-570-450/media/PRD-861-570-450-logo_wc9KYM0.png'}, 'description': 'Google usage for contract CRD-37918-65744-40857 from 2020-04-21 00:00:00 to 2020-04-22 00:00:00', 'schema': 'qt', 'stats': {'uploaded': 12, 'validated': 12}, 'events': {'created': {'at': '2020-04-22T15:14:01.267266+00:00', 'by': {'id': 'SU-038-540-250', 'name': 'SU-038-540-250'}}, 'uploaded': {'at': '2020-04-22T15:14:02.734195+00:00', 'by': {'id': 'SU-038-540-250', 'name': 'SU-038-540-250'}}}, 'contract': {'id': 'CRD-37918-65744-40857', 'name': 'Contract of Microsoft Agreement'}}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions