podio / podio-dotnet

Podio .NET client
MIT License
19 stars 39 forks source link

ApplicationService.GetApp returns empty app token #17

Closed gurify closed 9 years ago

gurify commented 9 years ago

The app token returned by the ApplicationService.GetApp method is null.

Pseudo code: Application newApp = new Application { SpaceId = request.WorkspaceId, Config = masterApplication.Config, Fields = activeFields };

int installedAppId = podioClient.ApplicationService.AddNewApp(newApp);

Application newlyCreatedApp = podioClient.ApplicationService.GetApp(installedAppId); newlyCreatedApp.Token is null

AjmalVh commented 9 years ago

@gurify Is the Token null only if the app is created via API ?

gurify commented 9 years ago

Seems that way. Does not reproduce on sandbox

AjmalVh commented 9 years ago

@gurify

Podio is not returning the token when GetApp is called via API. I confirmed this by inspecting the response JSON. 2015-10-19_11-10-02

AjmalVh commented 9 years ago

Hi @gurify

I have talked with Podio team and found you need to have an increased trust level to retrieve the app token via the API.

Please send a request to support@podio.com for this. They will review your request and may provide an increased trust level.