Skip to content

Conversation

@matt-condon
Copy link
Collaborator

Proposed changes

We're seeing 404s from the Postman API when attempting to send PUT requests on the collection upload in the github action runs

Validated locally and the identical requests are successful and applying the PUT

To help with troubleshooting, adding verbose logging that will be applied only when debug logging is enabled
image

Also reduced the number of retries as from local verbose logging I can see there are different quotas for rate limits, including a monthly rate limit (may be the incorrect error code returned)

Jira ticket: CLOUDP-315586

Closes #[issue number]

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works

Changes to Spectral

  • I have read the README file for Spectral Updates

Further comments

@matt-condon matt-condon requested a review from a team as a code owner April 29, 2025 08:50
fi

# runs curl for provided args without showing sensitive info
curl "${args[@]}" 2>&1 | grep -i -v "api-key\|x-api-key\|PMAK-" || true
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensuring that when we run the curl with -v, the API key hidden from the logs

@matt-condon matt-condon merged commit 5b3f45f into main Apr 29, 2025
7 checks passed
@matt-condon matt-condon deleted the CLOUDP-315586 branch April 29, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants