Post

3 followers Follow
0
Avatar

API Authentication as Admin

Hi,

I'm trying to make an app readonly, and then i am trying too use the API to make changes to that app.

The script fails with permission issues (403 forbidden).

The script authenticates with an organizational admin credentials.

Changes can be made in the front end by an admin users as expected, it's just the script fails with permission denied's.

Is there any particular reason why the API would not allow changes to a readonly app?
And if so, is it possible to change the status of the app via the API to allow writing, make the change and then make the app readonly again?

CTI System

Please sign in to leave a comment.

4 comments

0
Avatar

Hi Tim,

In order for your script to make changes to the read-only app it will need to be authenticated as a workspace admin. Being an organization admin does not automatically make you an admin in all workspaces (see https://help.podio.com/hc/en-us/articles/201019898-Member-roles-in-workspaces for more information on workspace roles).

Could you check that the user you authenticate as is also a workspace admin for the read-only app?

Chris Wheeldon 0 votes
Comment actions Permalink
0
Avatar

Hi Chris,

Yes, the authenticated user is also a workspace admin for the read-only app.

CTI System 0 votes
Comment actions Permalink
0
Avatar

Hi Tim,

Would you be able to provide the full response, including headers? I'll then take a look at the logs.

Chris Wheeldon 0 votes
Comment actions Permalink
0
Avatar

Debug
Podio Connector by None

Error in the request for the return code 403 of https://api.podio.com/app/. Server response truncated: {"error_parameters": {}, "error_detail": null, "error_propagate": false, "request": {"url": "http: \ / \ / api.podio.com \ / app \ / "," query_string ":" "," method ":" GET ... (use the muteHttpExceptions option to examine the entire response)

fetchPlays: 60
getData: 114

Luisma Núñez 0 votes
Comment actions Permalink