Why is smooch api rejecting any image is post as mediaUrl on post message conversation api

146 views Asked by At

Here's the error message, for message type "image" and "file"

{"error": { "code":"invalid_file",
  "description":"File rejected. File type not allowed"}
}
1

There are 1 answers

0
Andrew Lavers On

Your file upload was most likely rejected because of a disallowed file extension. The whitelist of file extensions accepted by Smooch is documented here.