1

Topic: Internal Server Error when accessing API using v2.6.0

==== Required information ====
- iRedMail version - 0.96
- Linux/BSD distribution name and version:  Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue: 

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/web/application.py", line 239, in process
return self.handle()
File "/usr/lib/python2.7/dist-packages/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "/usr/lib/python2.7/dist-packages/web/application.py", line 420, in _delegate
return handle_class(cls)
File "/usr/lib/python2.7/dist-packages/web/application.py", line 396, in handle_class
return tocall(*args)
TypeError: 'str' object is not callable

====


Hi, when accessing the API to our server we are getting an internal server error. The apache error log is shown above. We have upgraded to RedAdminPro v2.6.0 (MySQL).

Could you provide any assistance in solving the issue we are having? Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Internal Server Error when accessing API using v2.6.0

arobo wrote:

Hi, when accessing the API to our server we are getting an internal server error. The apache error log is shown above. We have upgraded to RedAdminPro v2.6.0 (MySQL).

Sorry about this trouble. (And thanks for your purchase. smile)

The log in your post if not full log related to this error, please extract more from log file.
Also, it would be better if you can show us which API endpoint you're trying to access, and the http POST data, so that we can reproduce this issue locally and fix it quickly.