Not sure if this helps, but I’ve had issues where the server expected form-data instead of JSON. Try switching to:
```python
response = requests.post(url, data=my_data, headers=headers)
```
And yeah, as others said, logging the response is key. Sometimes the error’s in the server’s reply, not your request post Python code.
```python
response = requests.post(url, data=my_data, headers=headers)
```
And yeah, as others said, logging the response is key. Sometimes the error’s in the server’s reply, not your request post Python code.
