Getting INTERNAL_ERROR while try to create line item



I created a campaign with this request successfully,

twurl -X POST -H '/0/accounts/***/campaigns?name=test&funding_instrument_id=***&daily_budget_amount_local_micro=10000&start_time=2015-11-05T07:00:00Z'

After that I wanna create line item with returned campaign id,

twurl -X POST -H '/0/accounts/***/line_items?campaign_id=asdf&placements=ALL_ON_TWITTER&product_type=PROMOTED_TWEETS&bid_amount_local_micro=10000'

I’m getting undetailed response like this (and also params field is not containing request parameters),

    "errors": [
            "code": "INTERNAL_ERROR",
            "message": "Internal Error"
    "request": {
        "params": {}

what am i doing wrong?


Hi @bunalikmantik,

The line item request is missing the required objective parameter. More info:


@bunalikmantik this was due to an issue we had in our sandbox environment. It’s been fixed, but it is important to call out that the sandbox has been sunset and will cease operating as of September 23rd. Also see our sandbox deprecation reminder posted in the forum this week.


I read the announcement about sandbox deprecation, it is ok. But there is still INTERNAL_ERROR for same issue.