Summary Care Record - FHIR API ($setPermission)

Hello,
I am attempting to update the patient’s consent to share SCR FHIR API in the integration environment, but it is returning a 500 Internal Server Error. The path we are using is ‘https://int.api.service.nhs.uk/summary-care-record/FHIR/R4/$setPermission ’ and I am enabled for INT access.