I have to pass an integer field in headers for a request but it is giving me an error:
requests.exceptions.InvalidHeader: Value for header {orgId: 721067787} must be of type str or bytes, not <class 'int'>
This is my code please help, regarding the exception:
authenticationHeaders = {'Authorization':tmpAuthToken,'orgId':organizationId}
response = requests.get("https://desk.zoho.com/api/v1/tickets",headers = authenticationHeaders)
return response.json()