Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queued integrations can hold onto invalid token IDs #1861

Closed
Mosnar opened this issue May 2, 2024 · 2 comments
Closed

Queued integrations can hold onto invalid token IDs #1861

Mosnar opened this issue May 2, 2024 · 2 comments

Comments

@Mosnar
Copy link
Contributor

Mosnar commented May 2, 2024

Describe the bug

I've found some Salesforce submissions in the queue that are failing to push because the token is no longer valid - it's null. Even if I procure a new token, the failed jobs hold onto the null token and fail to resubmit.

API error: “Call to undefined method TypeError::getResponse()” vendor/verbb/formie/src/integrations/crm/Salesforce.php:409

Steps to reproduce

  1. Create an integration with a token (such as Salesforce)
  2. Authenticate it and push some submissions
  3. Invalidate/remove the tokens before the queue finishes
  4. See failure

Form settings

N/A

Craft CMS version

Craft CMS 3.8.5

Plugin version

1.6.26

Multi-site?

Yes

Additional context

No response

@engram-design
Copy link
Member

Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-3 as 1.6.41".

@engram-design
Copy link
Member

Fixed in 1.6.42

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

No branches or pull requests

2 participants