Before this commit, _do_request can either receive json or dict as parameters. requests.request param value can also be a string or a dict. When the params is a string, the code tries to copy it with the copy method which is only available on the dict, resulting in an error. TaskId-2999194 X-original-commit: 75f889ca013d41939c669f07035e39d056d581d7 Part-of: odoo/odoo#101492