Getting error python3 --image ~/Mexican-hot-fudge-sundae-1.jpg --message 'this is NAME’s favorite ice-cream!'

crio-user@kushaldas413:~/workspace/kushaldas413-ME_QEATS_REVIEW_MP$ python3 --image ~/Mexican-hot-fudge-sundae-1.jpg --message ‘this is NAME’s favorite ice-cream!’
Traceback (most recent call last):
File “”, line 44, in
share_review(args.message, args.image)
File “”, line 27, in share_review
data=data, url=‘http://localhost:8081/qeats/v1/review/share’)
File “/usr/lib/python3/dist-packages/requests/”, line 112, in post
return request(‘post’, url, data=data, json=json, **kwargs)
File “/usr/lib/python3/dist-packages/requests/”, line 58, in request
return session.request(method=method, url=url, **kwargs)
File “/usr/lib/python3/dist-packages/requests/”, line 506, in request
prep = self.prepare_request(req)
File “/usr/lib/python3/dist-packages/requests/”, line 449, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File “/usr/lib/python3/dist-packages/requests/”, line 308, in prepare
self.prepare_body(data, files, json)
File “/usr/lib/python3/dist-packages/requests/”, line 499, in prepare_body
body = self._encode_params(data)
File “/usr/lib/python3/dist-packages/requests/”, line 104, in _encode_params
v.encode(‘utf-8’) if isinstance(v, str) else v))
UnicodeEncodeError: ‘utf-8’ codec can’t encode characters in position 12-14: surrogates not allowed

Hi @kushaldas413
Looks like you are facing challenges in the current module.

Below is a link to all the FAQ’s for the current module

Below are a few similar topics raised by other users which you might find usefull

Note - This is a BETA Feature,if you find this helpful, kindly let us know.
Feedback link -

Kindly mark this as a solution if this has helped you solve your query

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.