You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to get the data for a particular task with its payload, for example, an import task, I get the data for the task but without the task's payload although I passed "payload" to the method as a value to the "include" parameter.
e.g. GetTaskAsync("{task_id}", new string[1] { "payload" });
The response won't include the payload and the property is always null. The reason is that in this way as you pass the included value - $"{_apiUrl}/tasks/{id}?include={include}" - it won't be replaced with the value from the array that I pass as a parameter to GetTaskAsync method but will be replaced with System.String[]. This means that the include parameter in the URL query will be wrong - "{_apiUrl}/tasks/{id}?include=System.String[]".
The text was updated successfully, but these errors were encountered:
If I try to get the data for a particular task with its payload, for example, an import task, I get the data for the task but without the task's payload although I passed "payload" to the method as a value to the "include" parameter.
e.g. GetTaskAsync("{task_id}", new string[1] { "payload" });
The response won't include the payload and the property is always null. The reason is that in this way as you pass the included value - $"{_apiUrl}/tasks/{id}?include={include}" - it won't be replaced with the value from the array that I pass as a parameter to GetTaskAsync method but will be replaced with System.String[]. This means that the include parameter in the URL query will be wrong - "{_apiUrl}/tasks/{id}?include=System.String[]".
The text was updated successfully, but these errors were encountered: