You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
Describe the bug
Trying to retrieve ETDataExtension I am getting "Error: API Permission Failed"
To Reproduce
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
The bug has the severity
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
The text was updated successfully, but these errors were encountered: