Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

[BUG] [{"errorCode": "BAD_REQUEST", "message": "value \"Activity\" is not one of the picklist choices."}] #129

@nessrine-slimani

Description

@nessrine-slimani

Describe the bug
The report type Activity is returned by the metadata endpoint, however when submitting the following descriptor

{"detailColumns": ["DUE_DATE", "ACCOUNT", "OPPORTUNITY", "CONTACT", "SUBJECT", "ASSIGNED", "PRIORITY", "STATUS", "TASK", "LEAD", "TASK_TYPE"], "sortBy": [], "name": "Salesforce | Tasks and Events Report | Production", "reportFormat": "TABULAR", "reportType": {"type": "Activity"}, "scope": "organization", "standardDateFilter": {"column": "LAST_UPDATE", "durationValue": "CUSTOM", "startDate": "2021-02-05 00:00:00", "endDate": "2021-02-05 23:59:59"}}

the following error is returned

[{"errorCode": "BAD_REQUEST", "message": "value \"Activity\" is not one of the picklist choices."}]

To Reproduce
Submit the descriptor provided above

Expected behavior
Sucessful request

Screenshots
Not applicable

Code snippet

{"detailColumns": ["DUE_DATE", "ACCOUNT", "OPPORTUNITY", "CONTACT", "SUBJECT", "ASSIGNED", "PRIORITY", "STATUS", "TASK", "LEAD", "TASK_TYPE"], "sortBy": [], "name": "Salesforce | Tasks and Events Report | Production", "reportFormat": "TABULAR", "reportType": {"type": "Activity"}, "scope": "organization", "standardDateFilter": {"column": "LAST_UPDATE", "durationValue": "CUSTOM", "startDate": "2021-02-05 00:00:00", "endDate": "2021-02-05 23:59:59"}}

Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (e.g. gif) is not sufficient.

Environment

  • SDK Version: 1.3.0
  • Python version: 3.8

The bug has the severity

  • Critical: The defect affects critical functionality or critical data. It does not have a workaround.
  • Major: The defect affects major functionality or major data. It has a workaround but is not obvious and is difficult.
  • Minor: The defect affects minor functionality or non-critical data. It has an easy workaround.
  • Trivial: The defect does not affect functionality or data. It does not even need a workaround. It does not impact productivity or efficiency. It is merely an inconvenience.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions