Title: Unexpected Network Error
Last modified: August 12, 2025

---

# Unexpected Network Error

 *  [sjaelv](https://wordpress.org/support/users/sjaelv/)
 * (@sjaelv)
 * [10 months, 4 weeks ago](https://wordpress.org/support/topic/unexpected-network-error-4/)
 * We use Events Manager Pro with Paypal, when trying to book tickets users can 
   mostly not pay “Unexpected Network Error”, sometimes it does work but not often.
   Problem is across all browsers and devices, mobile seems to be working slightly
   less. [https://www.werkbox3.de/vollstaendiger-kalender/](https://www.werkbox3.de/vollstaendiger-kalender/)
 * (Seems to be the same? issue like [https://wordpress.org/support/topic/unexpected-network-error-3/](https://wordpress.org/support/topic/unexpected-network-error-3/))
 * Any hint of what could be causing this / how to resolve? So far we can’t say 
   for sure what causes the rare success.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funexpected-network-error-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [sjaelv](https://wordpress.org/support/users/sjaelv/)
 * (@sjaelv)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/unexpected-network-error-4/#post-18602852)
 * [@msykes](https://profiles.wordpress.org/msykes/) :
 * PayPal payments sometimes work on desktop browsers but consistently fail on mobile
   devices with a “401: rest_not_logged_in” error in the REST API.
 * The endpoint affected is `/wp-json/events-manager/v1/gateways/paypal_checkout/
   capture`.Bookings seem to work more often when users are logged in.
 * I have already taken the following steps:
 * I switched my theme (Enfold by Kriesi) to a standard WordPress theme. The error
   persisted.
 * I modified my Apache server’s .htaccess file to ensure the Authorization header
   is passed. The error persists.
 * I cleared all caches (plugin and server).
 * The analysis of network requests on mobile devices shows that the API request
   is answered with a 401 error, indicating that the authentication for the capture
   endpoint is not being transmitted correctly. Could you please check if this is
   a known issue related to mobile usage or specific themes? It seems that the Authorization
   header or the Nonce token is not being passed to the API correctly on mobile 
   devices. Below you will find the complete curl request data that triggers the
   error. I hope this information helps you find the problem. [http://www.werkbox3.de]](http://www.werkbox3.de])
 * Problem with the PayPal add-on and the Events Manager Pro plugin on the website
 * [http://www.werkbox3.de](http://www.werkbox3.de)
 *  WordPress 6.8.2
 *  Envato 7.1.1
 *  Events Manager Pro Version 3.6.2
 *  Events Manager Pro PayPal Version 1.2.1 | By Pixelite
 * curl ‘[https://www.werkbox3.de/wp-json/events-manager/v1/gateways/paypal_checkout/capture](https://www.werkbox3.de/wp-json/events-manager/v1/gateways/paypal_checkout/capture)‘
 * -H ‘Accept: _/_‘
 * -H ‘Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7’
 * -H ‘Cache-Control: no-cache’
 * -H ‘Connection: keep-alive’
 * -H ‘Content-Type: application/json’
 * -b ‘PHPSESSID=XXXXXXXXXXXX’
 * -H ‘Origin: [https://www.werkbox3.de](https://www.werkbox3.de)‘
 * -H ‘Pragma: no-cache’
 * -H ‘Referer: [https://www.werkbox3.de/events/testkurs-3/](https://www.werkbox3.de/events/testkurs-3/)‘
 * -H ‘Sec-Fetch-Dest: empty’
 * -H ‘Sec-Fetch-Mode: cors’
 * -H ‘Sec-Fetch-Site: same-origin’
 * -H ‘User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML,
   like Gecko) Chrome/139.0.0.0 Mobile Safari/537.36’
 * -H ‘X-WP-Nonce: 87b1386aea’
 * -H ‘sec-ch-ua: “Not;A=Brand”;v=”99″, “Google Chrome”;v=”139″, “Chromium”;v=”139″‘
 * -H ‘sec-ch-ua-mobile: ?1’
 * -H ‘sec-ch-ua-platform: “Android”‘
 * –data-raw ‘{“order_id”:”4C961115XG718745Y”,”payment”:{“orderID”:”4C961115XG718745Y”,”
   payerID”:”LVDY6SMDXX9TN”,”paymentID”:”4C961115XG718745Y”,”billingToken”:null,”
   facilitatorAccessToken”:”A21AANP7Q0TqF7-BwJV9AcgyaqmmctWiK0QfJDmDQVaDhiaiHUnhxznWj5VKBpRXyvcuD_I3ZjACBlhTQX9Cw2UYwwAweyODA”,”
   paymentSource”:”paypal”},”gateway”:{“nonce”:”2d721131f5″,”action”:”capture-booking-
   intent-paypal_checkout-“,”uuid”:”1cb8f358417e4d6e8dc7672bfc4475f9″}}’
 * Response 401: { “code”: “rest_not_logged_in”, “message”: “Du bist aktuell nicht
   angemeldet.”, “data”: { “status”: 401 } }
 * ![Profilbild](https://lh3.googleusercontent.com/a/ACg8ocL7aOg0w3jAbu58ncqBR2oaWY4KDClrh6fh2uSVgQMCyLiopmTJ
   =s64-c)
 *  Moderator [Support Moderator](https://wordpress.org/support/users/moderator/)
 * (@moderator)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/unexpected-network-error-4/#post-18603320)
 * > We use Events Manager Pro
 * The developer cannot assist you here.
 * For pro or customer support, please contact the developer on their site. This
   includes pre-sales information.
 * As the developer is aware, customers may not be supported on this site.
 * [https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products)

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

The topic ‘Unexpected Network Error’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Support Moderator](https://wordpress.org/support/users/moderator/)
 * Last activity: [10 months, 3 weeks ago](https://wordpress.org/support/topic/unexpected-network-error-4/#post-18603320)
 * Status: not resolved