FuelSDK-Python icon indicating copy to clipboard operation
FuelSDK-Python copied to clipboard

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

Open nessrine-slimani opened this issue 4 years ago • 0 comments

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

  • [x] 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.

nessrine-slimani avatar Feb 09 '21 13:02 nessrine-slimani