my code in xml
<div id="assignment_line_communication" class="mt8">
<h2>Communication</h2>
<t t-call="portal.message_thread">
<t t-set="object" t-value="assignment_ids"/>
<t t-set="messages"
t-value="object.sudo().website_message_ids.filtered(lambda m: m.subtype_id.internal == False)"/>
<t t-set="pid" t-value="pid"/>
<t t-set="hash" t-value="hash"/>
</t>
</div>
when i click send button i am getting 403 error...please help me somebody i am not able to trouble shoot this sproblem.