"Uncaught PodioForbiddenError" while updating app using php

Comments

4 comments

  • Stefan Ukena

    Hi Tom,

    there are two possible causes I can think of:
    1. the app settings allow only admin users and item creators to update items (look in the settings under "interaction" and check if members can update items)
    2. even if 1 is not the case, maybe you are trying to update an item in another app? If you use app authentication, you can only update items in the same app (or you need to get the authorization from the other app as well).

    Hope this helps,
    Stefan

    0
    Comment actions Permalink
  • Tom Bauer

    Hi Stefan,

    thanks for your fast reply. I'm really confused about that. I checked your hint and took a look to the interaction settings, everything is fine there, members can comment, create and update APP Items. I also checked your second hint, but the app is also the same, the item was created using the same skript before (with create command), using the same app authentication. Do you probably have any other idea?

    Tom

    0
    Comment actions Permalink
  • Stefan Ukena

    :( Sorry, no idea.

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    Don't use the app_item_id when performing API operations (unless you are fetching items based on them). You need to use the item_id.

    The item_id is a globally unique identifier for your item. Use that for all API operations unless they specifically call for the app_item_id. The app_item_id is just a running id number within that one app. You can tell them apart because the app_item_id is much shorter than the item_id

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk