Please provide a standalone example Python script or curl command.
Are you sure that your HTTP headers are set properly?
You can use https://plone-demo.info (admin/admin) as a backend for testing.
We need a reproducible testcase...
If you work with Postman then you are able to export the related request through "code" or a Postman snippet in order for trying this outselves.