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

Receiving error related to marketing_campaigns.read #6

Open
adifferentjoel opened this issue Oct 27, 2019 · 9 comments
Open

Receiving error related to marketing_campaigns.read #6

adifferentjoel opened this issue Oct 27, 2019 · 9 comments

Comments

@adifferentjoel
Copy link

I saw there was a revert of some code the other day, however I'm still seeing this error inside Stitch: INFO Exit status is: Discovery failed with code 1 and error message: "Insufficient authorization, missing for marketing_campaigns.read".

Any ideas what is happening?

@stevebuckingham
Copy link

We have also seen the same error:

2019-12-16 13:56:26,495Z   main - INFO Tap exited abnormally with status 1
2019-12-16 13:56:26,497Z   main - INFO No tunnel subprocess to tear down
2019-12-16 13:56:26,498Z   main - INFO Exit status is: Discovery failed with code 1 and error message: "Insufficient authorization, missing for templates.versions.read,marketing_campaigns.read,templates.read,asm.groups.read,suppression.read".```

@rsest
Copy link

rsest commented Jan 3, 2020

I have the same error:
main - INFO Exit status is: Discovery failed with code 1 and error message: "Insufficient authorization, missing for marketing_campaigns.read".

@DylanBaker
Copy link

Hey. I'm getting the same error here. Is there any timeline on this?

@MattBurlew
Copy link

Same error for me as well.

@shedd
Copy link

shedd commented Mar 17, 2020

I am also running into this. I tested this first with an API key configured as per the documentation here: https://www.stitchdata.com/docs/integrations/saas/sendgrid-core#create-a-sendgrid-general-api-key

Then I tested this with an API key with full access. Both configurations returned the same error.

@shedd
Copy link

shedd commented Mar 17, 2020

From doing a little bit of reading about this, it seems that the requirement for this marketing_campaigns.read scope has been a bit of an issue.

It was removed and then re-added in this PR: #3

This comment on the PR - #3 (comment) - also indicates that Support can manually add this scope. I've opened a Support Request with SendGrid and will report back if this approach is successful.

@shedd
Copy link

shedd commented Mar 26, 2020

SendGrid support replied:

The [marketing_campaigns.read] scope you are referencing is a legacy Marketing Campaigns scope. The Legacy Marketing Campaigns feature is no longer available, unfortunately. As such, I wouldn't be able to add that scope on your behalf.

As such, not sure why this was re-added after being removed in #3?

@garrypolley
Copy link

This issue prevents new integrations from working that do not use the legacy APIs. In contacting SendGrid support this is because clients using the new marketing features do not have the old scope available. Further the data will not be accessible under the old API and scope.

Is there anything folks can do to help un-revert the scope request?

@RandallKent
Copy link

@KAllan357 - Curious if you had thoughts on this. Perhaps it would make sense to release a v2 of this tap with support for the current SendGrid API?

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

8 participants