# \[API\] Erro 500: O software que alimenta este fórum de discussão encontrou um problema inesperado

**URL:** <https://meta.discourse.org/t/api-error-500-the-software-powering-this-discussion-forum-encountered-an-unexpected-problem/88843>\
**Category:** Product Support\
**Created:** [31 Maio , 2018 14:38 UTC](https://meta.discourse.org/t/api-error-500-the-software-powering-this-discussion-forum-encountered-an-unexpected-problem/88843 "2018-05-31T14:38:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Bryan\_Underwood\_CA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bryan_underwood_ca/32/95427_2.png) [@Bryan\_Underwood\_CA](https://meta.discourse.org/u/Bryan_Underwood_CA)\
**Post date:** [31 Maio , 2018 14:38 UTC](https://meta.discourse.org/t/api-error-500-the-software-powering-this-discussion-forum-encountered-an-unexpected-problem/88843/1 "2018-05-31T14:38:42Z")

</div>

When creating new topics via the API, I am suddenly getting this error. It’s been working fine all morning. I am sure it’s not related to rate limiting because that is not the error message. Also, I have a 2 second sleep between API commands.

I can create posts just fine, but when I try to create a post as a new topic with the following parameters it fails:

`api_key = $AUTH_APIKEY`  
`api_username = $AUTH_USERNAME`  
`title = "my topic title"`  
`raw = "my post text"`  
`category = 0`  
`created_at = "1/27/2017 15:41"`

Also, this only just started happening. I have been creating Topics and Posts all morning with my API script.

Anyone got a clue?

---

_[View the full topic](https://meta.discourse.org/t/api-error-500-the-software-powering-this-discussion-forum-encountered-an-unexpected-problem/88843)._
