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

[BUG] Error: API Permission Failed #88

Open
1 task
imartinflores opened this issue Aug 19, 2020 · 1 comment
Open
1 task

[BUG] Error: API Permission Failed #88

imartinflores opened this issue Aug 19, 2020 · 1 comment
Labels

Comments

@imartinflores
Copy link

Describe the bug
Trying to retrieve ETDataExtension I am getting "Error: API Permission Failed"

To Reproduce

  • Create a new ETClient()
  • Retrieve a ETDataExtension

Expected behavior
Should retrieve Data Extensions

Screenshots
If applicable, add screenshots to help explain your problem.

Code snippet
ETClient myClient = new ETClient();
var getColumn = new ETDataExtension
{
AuthStub = myClient,
Props = new[] { "Name" },
SearchFilter = new SimpleFilterPart { Property = "mycustomde", SimpleOperator = SimpleOperators.equals, Value = new[] { "1234" } },
};
var getColumnResponse = getColumn.Get();

Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (e.g. gif) is not sufficient.

Environment

  • SDK Version 1.3.0
  • .NET 472

The bug has the severity

  • Minor: The defect affects minor functionality or non-critical data. It has an easy workaround.

Additional context
Just a question here, I am using the rest credentials to interact with SOAP client, is that correct ? Rest client is working, but getting this error when trying to fetch data from SOAP. Should I include the MID as accountId in appConfig ?

Thanks

@imartinflores
Copy link
Author

Using

var getColumn = new ETDataExtensionColumn

does not throw that error, but I cant retrieve what I need.

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

1 participant