Title: Error page when I post with my Python script
Last modified: July 20, 2017

---

# Error page when I post with my Python script

 *  [ryunos](https://wordpress.org/support/users/ryunos/)
 * (@ryunos)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/error-page-when-i-post-with-my-python-script/)
 * Hello,
 * I am currently writing a Python bot to post automatically pages with a defined
   title and content. Whenever I make it submit the filled form to create the page,
   I get an error message that must look like “Are you sure you want to do that?”
   on a blank page. The address of this error page is mysite.com/wordpress/wp-admin/
   post.php?post=number&action=edit&message=10. I don’t understand why it happens
   because when I post exactly that message with my bot’s account, I don’t get any
   error…
 * I’m not sure about the forum where I should post, I hope this is the good one.
 * Thank you for your help,
    Ryunos
    -  This topic was modified 8 years, 10 months ago by [ryunos](https://wordpress.org/support/users/ryunos/).

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 10 months ago](https://wordpress.org/support/topic/error-page-when-i-post-with-my-python-script/#post-9336807)
 * Just a thought: You might consider using the REST API to post from your script.
 * [https://developer.wordpress.org/rest-api/](https://developer.wordpress.org/rest-api/)
   
   [https://github.com/myles/python-wp](https://github.com/myles/python-wp)
 *  Thread Starter [ryunos](https://wordpress.org/support/users/ryunos/)
 * (@ryunos)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/error-page-when-i-post-with-my-python-script/#post-9336942)
 * I can’t create pages with the python implementation because it has not been written
   yet and that’s what I want to do so I don’t think I will use the REST API.
 *  Thread Starter [ryunos](https://wordpress.org/support/users/ryunos/)
 * (@ryunos)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/error-page-when-i-post-with-my-python-script/#post-9345401)
 * Isn’t there anyone who can help me?

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

The topic ‘Error page when I post with my Python script’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [ryunos](https://wordpress.org/support/users/ryunos/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/error-page-when-i-post-with-my-python-script/#post-9345401)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
