Closed oliverjwroberts closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 68.68%. Comparing base (
9c5e372
) to head (fa394e9
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description of change
The addition of the payload to the
GET
request withinfetch_metadata()
was causing the API to return a 403 error. However, removing the payload caused an exception from therequests_hawk
package, requiring a payload whenalways_hash_content=True
. Instead, we were able to resolve the issue by using the custom HawkAuth class, which is also used elsewhere in the EMT application.Test instructions
You should now be able to successfully submit an enquiry from EMT to DataHub.