title: Slack 400 error: " the response is:missing_text_or_fallback_or_attachments "
body: <p>This is the snippet of my code where I am sending a payload to a slack webhook:</p>
  
  <pre><code>dictoftitle = {i: posts_to_print[i] for i in range(0, len(posts_to_print))}
  
  response = requests.post(web_hook_url, data=json.dumps(dictoftitle))
  
  if response.status_code != 200:
  raise ValueError('Request to slack returned an error %s, the response is:\n%s '% 
  (response.status_code, response.text) )
  </code></pre>
  
  <p>This is how the payload looks like:</p>
  
  <pre><code>print(dictoftitle)
  {0: 'When girls are the shero of the story', 1: 'Simplified global game management: Introducing Game Servers', 2: 'Google Cloud named a leader in the Forrester Wave for Public Cloud Development and Infrastructure Platforms', 3: "Modernizing Twitter's ad engagement analytics platform", 4: 'Protect users in your apps with 
  multi-factor authentication', 5: 'Postponing Google Cloud Next ’20: Digital Connect', 6: 'Not just for HTTP anymore: gRPC comes to Cloud Run', 7: 'Data processing just got easier with Apps Script’s new V8 runtime', 8: 'G Suite Pro Tips: Declutter your inbox with Gmail filters', 9: 'How EBSCO delivers dynamic research services with Apigee', 10: 'Finding a problem at the bottom of the Google stack', 11: 'Best practices for Chrome Enterprise admins to enable a remote workforce', 12: 'Modern analytics made easy with new Redshift, S3 migration tools', 13: 'Local SSDs + VMs = love at first (tera)byte', 14: '재택근무 시 업무 수행과 관련된 8가 
  지 도움말', 15: '使用 G Suite 居家办公的八大妙招', 16: '善用 8 大秘訣，確保在家工作時的工作效率', 17: '8 tips untuk menyelesaikan pekerjaan saat bekerja dari jarak jauh', 18: '8 mẹo để hoàn thành công việc khi làm việc tại nhà', 19: 'เคลดลบ 8 ข้อเพ่อการทำงานจากบ้านอย่างมประสทธภาพ'}
  </code></pre>
  
  <p>I am getting an error when sending the payload :</p>
  
  <pre><code> Traceback (most recent call last):                                                                                                                               
    File "test3.py", line 83, in &lt;module&gt;                                                                                                                          
      raise ValueError('Request to slack returned an error %s, the response is:\n%s '% (response.status_code, response.text) )                                     
  ValueError: Request to slack returned an error 400, the response is:                                                                                             
  missing_text_or_fallback_or_attachments    
  </code></pre>
  
  <p>Do you have any idea on what is causing the issue? </p>