Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

"Error: API Permission Failed." in ET_Get.php #152

Open
maskedjellybean opened this issue Aug 27, 2019 · 2 comments
Open

"Error: API Permission Failed." in ET_Get.php #152

maskedjellybean opened this issue Aug 27, 2019 · 2 comments
Labels

Comments

@maskedjellybean
Copy link

maskedjellybean commented Aug 27, 2019

I don't think this is a bug, but I'm hoping someone can tell me what I'm doing wrong. Line 78 of ET_Get.php always returns:

Screen Shot 2019-08-27 at 3 20 48 PM

At line 78 $authstub is:

Screen Shot 2019-08-27 at 3 22 57 PM

I'm trying to fix an implementation of ExactTarget/Marketing Cloud that is a few years old and recently randomly stopped working. I've narrowed down the failure to this line but I don't know what to make of the vague error message.

Does anyone see anything obviously wrong with $authstub? One thing that I thought was odd is that $authstub->tenantKey is null. I can't find any documentation on what tenantKey should be or how to set it. Is it the same as the 28 char string described here? https://help.salesforce.com/articleView?id=mc_rn_october_2018_platform_tenant_specific_subdomains.htm&type=5

So far I've tried:

Any help would be appreciated. I can provide whatever information would be helpful.

Environment

  • SDK Version [e.g. 1.3.0]
  • PHP version 7.1.28
@psmarsch
Copy link

+1

@garek007
Copy link

For the life of me I can't figure out what the $tenantKey is or where/how it gets set. Looking at ET_Client.php it is not obvious.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants