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?
-
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?
-
Debug
Podio Connector by NoneError 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
Please sign in to leave a comment.
Comments
4 comments