Skip to content
This repository has been 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

Open
1 of 4 tasks
nessrine-slimani opened this issue Feb 9, 2021 · 0 comments
Labels

Comments

@nessrine-slimani
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant