Repository navigation
fix(destination): authenticate marketo bulk uploads with bearer token - #7510
Merged
Merged
Conversation
Marketo removed support for passing access_token as a request parameter on 2026-08-31, so bulk lead imports fail with 603 (Access denied). Send the token in the Authorization header instead. Co-Authored-By: Claude Opus 5.5 <[email protected]> 🔒 Scanned for secrets using gitleaks 8.30.1
achettyiitr
approved these changes
Oct 20, 2026
atzoum
approved these changes
Oct 20, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7510 +/- ##
==========================================
- Coverage 85.03% 84.63% -0.40%
==========================================
Files 632 632
Lines 62857 62857
==========================================
- Hits 53448 53202 -246
- Misses 9406 9652 +246
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Oct 20, 2026
Merged
itsmihir
pushed a commit
that referenced
this pull request
Oct 20, 2026
🤖 I have created a release *beep* *boop* --- ## [1.91.0-rc.2](v1.90.0...v1.91.0-rc.2) (2026-10-20) ### Features * **jobsdb:** pending events gauge for the gw jobsdb ([#7447](#7447)) ([fc539c4](fc539c4)) * **processor:** report event_filter drops per reason and stop its succeeded rows ([#7454](#7454)) ([5caff53](5caff53)) ### Bug Fixes * **destination:** authenticate marketo bulk uploads with bearer token ([#7510](#7510)) ([3eaffad](3eaffad)) * **processor:** exclude dropped jobs from tracked users and activation records ([#7485](#7485)) ([526602c](526602c)) * **router:** enable live events payload masking by default ([#7500](#7500)) ([8b5c22d](8b5c22d)) * **router:** mask multi-request delivery payloads ([#7476](#7476)) ([f65572e](f65572e)) * **router:** mask reporting sample event secrets ([#7497](#7497)) ([833d694](833d694)) * **router:** report destination status for v1 proxy deliveries in transformer_outgoing_request_count ([#7482](#7482)) ([bba1c21](bba1c21)) ### Miscellaneous * bump sqlconnect-go to v1.34.0 ([#7479](#7479)) ([71e8cfa](71e8cfa)) * stop setting in_reported_by on report rows ([#7458](#7458)) ([814d149](814d149)) * sync release v1.90.0 to main branch ([#7475](#7475)) ([d05fcbb](d05fcbb)) * **tooling:** move rudder-server test MinIO to Silo ([#7469](#7469)) ([935bf59](935bf59)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
itsmihir
pushed a commit
that referenced
this pull request
Oct 20, 2026
🤖 I have created a release *beep* *boop* --- ## [1.91.0](v1.90.0...v1.91.0) (2026-10-20) ### Features * **jobsdb:** pending events gauge for the gw jobsdb ([#7447](#7447)) ([fc539c4](fc539c4)) * **processor:** report event_filter drops per reason and stop its succeeded rows ([#7454](#7454)) ([5caff53](5caff53)) ### Bug Fixes * **destination:** authenticate marketo bulk uploads with bearer token ([#7510](#7510)) ([3eaffad](3eaffad)) * **processor:** exclude dropped jobs from tracked users and activation records ([#7485](#7485)) ([526602c](526602c)) * **router:** enable live events payload masking by default ([#7500](#7500)) ([8b5c22d](8b5c22d)) * **router:** mask multi-request delivery payloads ([#7476](#7476)) ([f65572e](f65572e)) * **router:** mask reporting sample event secrets ([#7497](#7497)) ([833d694](833d694)) * **router:** report destination status for v1 proxy deliveries in transformer_outgoing_request_count ([#7482](#7482)) ([bba1c21](bba1c21)) ### Miscellaneous * bump sqlconnect-go to v1.34.0 ([#7479](#7479)) ([71e8cfa](71e8cfa)) * stop setting in_reported_by on report rows ([#7458](#7458)) ([814d149](814d149)) * sync release v1.90.0 to main branch ([#7475](#7475)) ([d05fcbb](d05fcbb)) * **tooling:** move rudder-server test MinIO to Silo ([#7469](#7469)) ([935bf59](935bf59)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes
MARKETO_BULK_UPLOADlead imports failing with Marketo error 603 (Access denied).Adobe removed support for passing
access_tokenas a request parameter on 2026-08-31. The bulk import request still sent it as a multipart form field, so every import now fails. Poll and lead-status calls already use the header and are unaffected.The bulk import request now:
Authorization: Bearer <token>;access_tokenin the multipart form;format=csvand optionallookupFieldparts unchanged.The upload keeps its existing HTTP client on purpose. Moving it to the shared client would put uploads of up to 10MB under that client's 30s timeout, so that change is left for a follow-up with a configurable timeout.
This is the
mastercounterpart of #7505 (release/1.91.x).Linear Ticket
INT-7415
Security
Validation
TestSendHTTPRequestcovers the bearer header, the missingaccess_tokenfield,format,lookupFieldwith and without a deduplication field, and the uploaded CSV. It fails if theaccess_tokenform field is put back.go test ./router/batchrouter/asyncdestinationmanager/marketo-bulk-upload/...passes.go vetandgolangci-lintv2.14.0 on the package: 0 issues.🤖 Generated with Claude Code