Title: 404 AJAX error using shortcode
Last modified: September 7, 2017

---

# 404 AJAX error using shortcode

 *  Resolved [bs-webdevelopment](https://wordpress.org/support/users/best-services-webdevelopment/)
 * (@best-services-webdevelopment)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/404-ajax-error-using-shortcode/)
 * Hello,
 * I have a strange issue. When I use the shortcode [calendar id=”774″] of a grid
   calendar on a normal page, it is not possible to go to the next or previous month,
   the loading icon remains visible. It turned out that the AJAX response has a 
   status code 404, but the ‘data’ and ‘success’ fields are returned correctly by
   the server. As a result of the status code, the data is not processed and the
   calender is not updated. However, instead of using the shortcode but on the calendar
   page itself ([https://domain.com/calendar/xyz](https://domain.com/calendar/xyz)),
   this issue is not present and the the calendar is working correctly.
 * Do you know what could cause this problem? It is now fixed by changing line 576
   of ‘includes/calendars/views/default-calendar-grid.php’ to the following:
 * wp_send_json_success( $this->draw_month( $month, $year, $id ), 200 );
 * I hope you have a solution for this bug, so this fix is not overwritten by the
   next version of the plugin.

Viewing 1 replies (of 1 total)

 *  Thread Starter [bs-webdevelopment](https://wordpress.org/support/users/best-services-webdevelopment/)
 * (@best-services-webdevelopment)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/404-ajax-error-using-shortcode/#post-9845175)
 * This is fixed. Appears to be an issue with the BuddyPress plugin.

Viewing 1 replies (of 1 total)

The topic ‘404 AJAX error using shortcode’ is closed to new replies.

 * ![](https://ps.w.org/google-calendar-events/assets/icon-256x256.png?rev=1263960)
 * [Simple Calendar - Google Calendar Plugin](https://wordpress.org/plugins/google-calendar-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-calendar-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-calendar-events/)
 * [Active Topics](https://wordpress.org/support/plugin/google-calendar-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-calendar-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-calendar-events/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [bs-webdevelopment](https://wordpress.org/support/users/best-services-webdevelopment/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/404-ajax-error-using-shortcode/#post-9845175)
 * Status: resolved