I have created a form in Form builder to enable a logged in user to update some details we have stored for them (their Gift Aid status). This displays via a short code in a wordpress page ([civicrm component="afform" name="afformGiftAid" hijack="0"])

If I am logged in as an administrator it updated the record. If I am logged in as a "general user" it does not update the record. I am guessing this is a permission issue - Can anyone advise what permissions need to used in Civi/ Wordpress to ensure the record gets updated - I have tried a few and no success.

We are getting the following errors in the Log files

[debug] Silently ignoring exception in Afform processGenericEntity call: Authorization failed [debug] $API Request Authorization failed = #0 /.../wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(153): CRM_Core_Error::backtrace("API Request Authorization failed", TRUE)

Wordpress 6.4.1 CivCRM 5.65.2


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.