Title: Switching Date/View throwing 403 error
Last modified: September 1, 2016

---

# Switching Date/View throwing 403 error

 *  Resolved [tgelles](https://wordpress.org/support/users/tgelles/)
 * (@tgelles)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/switching-dateview-throwing-403-error/)
 * Whenever I attempt to change the date or switch the view I get the following 
   error:
 * > Something went wrong while fetching events.
   >  The request status is: 403 The
   > error thrown was: Forbidden
 * The error in the modal is:
 *     ```
       <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
       <html><head>
       <title>403 Forbidden</title>
       </head><body>
       <h1>Forbidden</h1>
       <p>You don't have permission to access /phbeta/calendar/action~oneday/request_format~json/
       on this server.</p>
       <hr>
       <address>Apache/2.2.15 (Red Hat) Server at krieger.jhu.edu Port 80</address>
       </body></html>
       ```
   
 * Within the inspector I see:
 * Failed to load resource: the server responded with a status of 403 (Forbidden)
   [http://krieger.jhu.edu/phbeta/calendar/action~oneday/request_format~json/?request_type=json&ai1ec_doing_ajax=true](http://krieger.jhu.edu/phbeta/calendar/action~oneday/request_format~json/?request_type=json&ai1ec_doing_ajax=true)
 * How do I know what permission to set?
 * Link: [http://krieger.jhu.edu/phbeta/calendar/](http://krieger.jhu.edu/phbeta/calendar/)
 * [https://wordpress.org/plugins/all-in-one-event-calendar/](https://wordpress.org/plugins/all-in-one-event-calendar/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [tgelles](https://wordpress.org/support/users/tgelles/)
 * (@tgelles)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/switching-dateview-throwing-403-error/#post-7589062)
 * Figured it out. My .htaccess uses the [6G Firewall](https://perishablepress.com/6g-beta/),
   and was thus forbidding any urls with a ~ in them:
 * # 6G:[REQUEST STRINGS]
    <IfModule mod_alias.c> RedirectMatch 403 (?i)(~|`|<|>
   |:|;|,|%|\\|\s|\{|\}|\[|\]|\|) </IfModule>
 * Removing the ~ worked.

Viewing 1 replies (of 1 total)

The topic ‘Switching Date/View throwing 403 error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [tgelles](https://wordpress.org/support/users/tgelles/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/switching-dateview-throwing-403-error/#post-7589062)
 * Status: resolved