craft-freeform icon indicating copy to clipboard operation
craft-freeform copied to clipboard

Pardot v4 integration not sending `Pardot-Business-Unit-Id` header with authorization request.

Open tylerfowle opened this issue 6 months ago • 0 comments

What happened?

after trying to authorize Pardot CRM integration I receive the following error

Errors and Stack Trace (if available)

{"@attributes":{"stat":"fail","version":1,"err_code":181},"err":"A required header is missing: Pardot-Business-Unit-Id header not found on request."}

How can we reproduce this?

  1. Freeform > Settings > CRM > New Integration 1.a) setup integration in salesforce
  • disable PKCE
  • scopes: (api, web, chatter_api, refresh_token, offline_access, pardot_api)
  1. Select "Pardot v4" from dropdown - enter business unit id, client id, client secret
  2. click save, approve oauth, return to /integrations/crm with "not able to authorize" error

Freeform Edition

Pro

Freeform Version

5.5.7

Craft Version

4.9.7

When did this issue start?

No response

Previous Freeform Version

No response

tylerfowle avatar Aug 15 '24 19:08 tylerfowle