Open klipus opened 2 years ago
I've encountered a similar error and it is related to the struct DescribeResponse
because some fields might be not matching the retrieved JSON from the REST API callout.
Thank you for reporting this issue! and sorry for late reply.
Now, client.describe
return serde_json::Value
instead of DescribeResponse
, so this issue resolved.
https://github.com/tzmfreedom/rustforce/blob/8293c28be0783dc1887d387054d51d9b5f0a3aae/src/client.rs#L372
If so, I'll close this issue.
I still get HTTPError("error decoding response body: invalid type: map, expected a string at line 1 column 1")
with the describe_global
method.
trying to use describe command from the example, but getting error: HTTPError("error decoding response body: invalid type: map, expected a string...