user3573468
user3573468

Reputation: 11

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

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

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

Upvotes: 1

Views: 165

Answers (1)

Andrew Lavers
Andrew Lavers

Reputation: 8141

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

Upvotes: 1

Related Questions