Error when GET-ing strategy details

Posted in General by Jamie Phelps Tue Apr 16 2019 22:25:30 GMT+0000 (Coordinated Universal Time)·1·Viewed 181 times

Whenever I use the API to get details of Strategy objects, I always get the following error 35 times, many times more than the number of strategies that are actually returned: ``` WARNING: Sort by field must be a searchable field for the object. Use /fields to learn which fields are searchable: targeting_key ``` Here is a request that triggers this error for me: ``` GET /rest/strategy HTTP/1.1 Content-Type: application/json; charset=utf-8 Cookie: PHPSESSID=15690159d0e33333c7d747af5685563c; accountname_buzz_cookie=15690159d0e33333c7d747af5685563c Host: accountname.api.beeswax.com Connection: close User-Agent: Paw/3.1.8 (Macintosh; OS X/10.14.4) GCDHTTPRequest Content-Length: 43 {"active":true,"sort_by":["strategy_name"]} ``` Checking `/strategy/fields`, I find that `strategy_name` is indeed listed as a searchable strategy: ``` GET /rest/strategy/fields HTTP/1.1 Content-Type: application/json; charset=utf-8 Cookie: PHPSESSID=15690159d0e33333c7d747af5685563c; accountname_buzz_cookie=15690159d0e33333c7d747af5685563c Host: accountname.api.beeswax.com Connection: close User-Agent: Paw/3.1.8 (Macintosh; OS X/10.14.4) GCDHTTPRequest Content-Length: 43 {"active":true,"sort_by":["strategy_name"]} ``` returns ``` {"type":"like","required":true,"searchable":true,"read-only":false,"choices":null} ``` Interestingly, the number of errors is always 35; if I include all strategies whether active or not, there is one more but the number of errors remains at 35.
Apr 17, 2019

Apologies about this, appears to be a non-critical bug. You can ignore it for now and we will try to fix.

  
Markdown is allowed