Title: Error executing CreateDistribution &#8211; origin name cannot be null or empty.
Last modified: May 14, 2021

---

# Error executing CreateDistribution – origin name cannot be null or empty.

 *  Resolved [guytz72](https://wordpress.org/support/users/guytz72/)
 * (@guytz72)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/error-executing-createdistribution-origin-name-cannot-be-null-or-empty/)
 * I am getting the below error when trying to create a distribution with the plugin:
 * Error: Error executing “CreateDistribution” on “[https://cloudfront.amazonaws.com/2019-03-26/distribution&#8221](https://cloudfront.amazonaws.com/2019-03-26/distribution&#8221);;
   AWS HTTP error: Client error: `POST https://cloudfront.amazonaws.com/2019-03-
   26/distribution` resulted in a `400 Bad Request` response: Sender< (truncated…)
   InvalidArgument (client): The parameter origin name cannot be null or empty. –
   SenderInvalidArgumentThe parameter origin name cannot be null or empty.bc3e0f47-
   8da3-414f-bdf8-9c6def6dd5a4
 * Details of the parameters are here: [https://www.dropbox.com/s/ctbcp1lb94z8x8i/Screenshot%202021-05-14%20at%2022.48.57.png?dl=0](https://www.dropbox.com/s/ctbcp1lb94z8x8i/Screenshot%202021-05-14%20at%2022.48.57.png?dl=0)
 * I created an SSL cert first which was created successfully.
 * Any ideas what is happening?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-executing-createdistribution-origin-name-cannot-be-null-or-empty%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [luckychingi](https://wordpress.org/support/users/luckychingi/)
 * (@luckychingi)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/error-executing-createdistribution-origin-name-cannot-be-null-or-empty/#post-14438486)
 * Hello [@guytz72](https://wordpress.org/support/users/guytz72/)
 * I’ll test the plugin and revert soon
 *  Plugin Author [luckychingi](https://wordpress.org/support/users/luckychingi/)
 * (@luckychingi)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/error-executing-createdistribution-origin-name-cannot-be-null-or-empty/#post-14438700)
 * Hello [@guytz72](https://wordpress.org/support/users/guytz72/)
 * I found the cause of the issue and have fixed it in V2.0.3
 * Please update the plugin and let me know.
 *  Thread Starter [guytz72](https://wordpress.org/support/users/guytz72/)
 * (@guytz72)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-executing-createdistribution-origin-name-cannot-be-null-or-empty/#post-14451898)
 * Awesome support! Thanks very much for your help, that’s fixed it.
 * For anyone looking at AWS as a CDN, stay a mile away from the “Official” AWS 
   plugin and get this one instead. I struggled for ages with a broken shopping 
   cart when I used the official plugin to configure it, but this one works great!
 *  Plugin Author [luckychingi](https://wordpress.org/support/users/luckychingi/)
 * (@luckychingi)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-executing-createdistribution-origin-name-cannot-be-null-or-empty/#post-14452440)
 * Hello [@guytz72](https://wordpress.org/support/users/guytz72/)
 * Thanks for the update and the donation.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error executing CreateDistribution – origin name cannot be null or empty.’
is closed to new replies.

 * ![](https://ps.w.org/aws-cdn-by-wpadmin/assets/icon-256x256.jpg?rev=2647571)
 * [WPAdmin AWS CDN](https://wordpress.org/plugins/aws-cdn-by-wpadmin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/aws-cdn-by-wpadmin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/aws-cdn-by-wpadmin/)
 * [Active Topics](https://wordpress.org/support/plugin/aws-cdn-by-wpadmin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/aws-cdn-by-wpadmin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/aws-cdn-by-wpadmin/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [luckychingi](https://wordpress.org/support/users/luckychingi/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/error-executing-createdistribution-origin-name-cannot-be-null-or-empty/#post-14452440)
 * Status: resolved