FuelSDK-CSharp
FuelSDK-CSharp copied to clipboard
[BUG] Error: API Permission Failed
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
Using
var getColumn = new ETDataExtensionColumn
does not throw that error, but I cant retrieve what I need.