dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #47592
Character limit on incoming SMS message
Hi DHIS2 Devs,
I'm encountering an error when attempting to send a long incoming SMS
message to the DHIS2 (v2.22) API - /api/sms/incoming
The message is 809 characters, which the phone, telco and SMS gateway all
seem to be fine with, presumably via a concatenated SMS, but DHIS2 seems to
respond with a 500 Internal Server Error.
Looking at the catalina logs, it appears one of the SQL fields is limited
to a 255 VARCHAR:
* ERROR 2016-11-04 09:24:46,236 ERROR: value too long for type
character varying(255) (SqlExceptionHelper.java
[http-apr-8080-exec-9])
Would it be possible to expand that to something bigger? Say around 2000?
Thanks,
- Jasper
Follow ups