Title: Error sending files
Last modified: August 30, 2016

---

# Error sending files

 *  Resolved [aramiac](https://wordpress.org/support/users/aramiac/)
 * (@aramiac)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-sending-files/)
 * Hello i have a problem with the send file process, every time that i tried to
   send a file (jpg, png, etc) says this:
 * Unknown error occurred: SyntaxError: Unexpected token <
 * I tried to fix this with different version of WP but the error is still there.
 * There is some reason or technical requirements (permissions, modules or something
   like this) in the server (web shell) that can be disabled or not installed and
   be the reason for this problem?
 * [https://wordpress.org/plugins/wise-chat/](https://wordpress.org/plugins/wise-chat/)

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

 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-sending-files/#post-6865538)
 * Hi,
 * if you are able to upload files into Media Library you should be able to upload
   them through the plugin.
 * Type in the chat:
    [debug] and a window with red border will appear. Paste here
   what errors are listed there.
 * Otherwise – post a link to your website. I will try to debug this.
 * Marcin
 *  [JJNW](https://wordpress.org/support/users/jjnw/)
 * (@jjnw)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-sending-files/#post-6865686)
 * Here is my error I am getting:
 * Maintenance fatal error: Not Found
    Server error occurred: Not Found
 * After typing your [debut], I get:
 * [Wed Dec 23 2015 06:19:01 GMT-0800 (Pacific Standard Time)] [errorThrown] Not
   Found
    [Wed Dec 23 2015 06:19:03 GMT-0800 (Pacific Standard Time)] [onMessageArrivalError]
 * Any suggestions?
 * THANKS… can’t wait for Pro Version 🙂
 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-sending-files/#post-6865692)
 * [@jjnw](https://wordpress.org/support/users/jjnw/) It would be easier if I look
   at you website and try to determine what is wrong.
 * Marcin
 *  [JJNW](https://wordpress.org/support/users/jjnw/)
 * (@jjnw)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-sending-files/#post-6865768)
 * Hi again. The website isn’t up. The images are working on localhost, but not 
   on site that is in Maintenance Mode (no conflict there either, even when disabled).
   I also removed any htaccess files…
 * And note, the site online is same environment as localhost:
 * The error code I get is:
 * POST [http://website/wp-admin/admin-ajax.php](http://website/wp-admin/admin-ajax.php)
   action=wise_chat_message_endpoint
 * 400 (Bad Request)
 * send @ jquery.js?ver=1.11.3:5m.extend.ajax @ jquery.js?ver=1.11.3:5sendMessageRequest
   @ messages.js?ver=4.3.1:280sendMessage @ messages.js?ver=4.3.1:315m.event.dispatch
   @ jquery.js?ver=1.11.3:4r.handle @ jquery.js?ver=1.11.3:4
 * Any suggestions?
 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-sending-files/#post-6865775)
 * Hi,
 * it is still not enough information to determine where the problem is. Try to 
   find raw response of the AJAX request to address containing “wise_chat_message_endpoint”
   string. It will be executed when you send a message with files. The response 
   will contain an error.

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

The topic ‘Error sending files’ is closed to new replies.

 * ![](https://ps.w.org/wise-chat/assets/icon-128x128.png?rev=1306481)
 * [Wise Chat](https://wordpress.org/plugins/wise-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wise-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wise-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/wise-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wise-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wise-chat/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/error-sending-files/#post-6865775)
 * Status: resolved