gorkalaucirica/HipchatAPIv2Client

Value None for field 'from' is not of type 'string' (0)

Closed this issue · 3 comments

Juje commented

The from in the Message model is null by default but since yesterday (07-10-2015) this started throwing the following error:

Value None for field 'from' is not of type 'string' (0)

And when I changed the value null to an empty string:

protected $from = '';

Everything worked again.

The code I am talking about can be found at: Model/Message.php#L20

Yeah same thing happened to me this morning.... I just wrote a setFrom method into the Message model this morning.. 6 in one I guess. Easier to just create an empty property heh.

Having the same issue, and replacing the $from variable with a blank string also worked for me.

Fixed in #29