Title: REST Api errors
Last modified: December 19, 2025

---

# REST Api errors

 *  Resolved [brandforward](https://wordpress.org/support/users/brandforward/)
 * (@brandforward)
 * [5 months, 1 week ago](https://wordpress.org/support/topic/rest-api-errors-5/)
 * Hi there,
 * I see that there are some console errors on a website where I installed Kudo 
   donations: /wp-json/wp/v2/kudos_campaign/doneer-aan-morrisfonds?_locale=user
 * /wp-json/wp/v2/users/me?context=edit&_locale=user (I don’t know if this is caused
   by Kudos)
 * Any tips how I can prevent this?
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frest-api-errors-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Michael Iseard](https://wordpress.org/support/users/iseardmedia/)
 * (@iseardmedia)
 * [5 months, 1 week ago](https://wordpress.org/support/topic/rest-api-errors-5/#post-18762962)
 * Hi [@brandforward](https://wordpress.org/support/users/brandforward/),
 * When Kudos Donations loads on the front-end it sends a request to your website
   for the details of the campaign. In the old version (prior to 4.0.0) it would
   fetch it based on the name of the campaign (the slug in WordPress terms). In 
   your case this was “doneer-aan-morrisfonds”.
 *  The newer versions (4.0.0 and up) now use the ID of the campaign, however if
   your blocks/shortcodes were created in versions prior to 4.0.0 then it still 
   has the slug attached to it. In order to prevent your donate button from no longer
   working Kudos now checks assuming it is an ID first, if it fails (such as in 
   your case) then it checks assuming it is a slug. It doesn’t do any harm but if
   you want to get rid of it you will need to generate a new shortcode or block 
   which will use the new ID system.
 * The second error doesn’t appear to be caused by Kudos but you can figure out 
   by disabling plugins one by one until the error stops.
 * TLDR: This is harmless but to get rid of it just remove the shortcode/block and
   regenerate a new one.
 * Hope that helps!
 * Mike
 *  Thread Starter [brandforward](https://wordpress.org/support/users/brandforward/)
 * (@brandforward)
 * [5 months, 1 week ago](https://wordpress.org/support/topic/rest-api-errors-5/#post-18763721)
 * Thanks for the reply! I updated the shortcode but now I get the following error
   when I want to submit a donation:
 * “De reactie is geen geldige JSON reactie.”
 * Any idea how this can happen?
 * Thanks!
 *  Plugin Author [Michael Iseard](https://wordpress.org/support/users/iseardmedia/)
 * (@iseardmedia)
 * [5 months, 1 week ago](https://wordpress.org/support/topic/rest-api-errors-5/#post-18763911)
 * Hi [@brandforward](https://wordpress.org/support/users/brandforward/),
 * Sounds like there was an error for some reason creating the transaction in Kudos.
   It would be useful to see what the contents of the server’s response was, you
   can generally find this in the Network tab when you have the browser console 
   open (this varies depending on browser).
 * Alternatively take a look at the logs (Donaties > Geavanceerd > Log) and see 
   if you can see the details of the error, this will help me to figure out what
   is going wrong.
 * Kind regards,
   Mike
 *  Plugin Author [Michael Iseard](https://wordpress.org/support/users/iseardmedia/)
 * (@iseardmedia)
 * [4 months ago](https://wordpress.org/support/topic/rest-api-errors-5/#post-18797893)
 * Hi [@brandforward](https://wordpress.org/support/users/brandforward/),
 * Let me know if you managed to solve the issue, otherwise I will mark this as 
   resolved. You can always ask for help later if you need it.
 * Kind regards,
   Mike

Viewing 4 replies - 1 through 4 (of 4 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frest-api-errors-5%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/kudos-donations/assets/icon-256x256.gif?rev=3287513)
 * [Kudos Donations: Easy Donations with Mollie | One-off & Recurring | PDF Receipts | Buttons & Forms](https://wordpress.org/plugins/kudos-donations/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kudos-donations/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kudos-donations/)
 * [Active Topics](https://wordpress.org/support/plugin/kudos-donations/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kudos-donations/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kudos-donations/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Michael Iseard](https://wordpress.org/support/users/iseardmedia/)
 * Last activity: [4 months ago](https://wordpress.org/support/topic/rest-api-errors-5/#post-18797893)
 * Status: resolved