Community

ProfitBricks API .NET Error 406, 308

Hello everyone,

i am using the ProfitBricksAPI Version 3.0.2 for C#. Since Tuesday 11/01/2016 (date of PB maintenance) I am getting following errorcode when trying to connect/authenticate/get the datacenter from your server:


Client.ApiException: Error calling FindAll: { "httpStatus" : 406, "messages" : [ { "errorCode" : "308", "message" : "Media type 'application/vnd.profitbricks.collection+json' is not acceptable. Expected application/vnd.profitbricks.resource+json for scalar resouces and application/vnd.profitbricks.collection+json for collections" } ] }

at Api.DataCenterApi.FindAllWithHttpInfo(Nullable1 parameter, Nullable1 depth) at Api.DataCenterApi.FindAll(Nullable1 parameter, Nullable1 depth)


Any ideas?

Thanks in advance

 
  • **bold**
  • _italics_
  • `code`
  • ```code block```
  • # Heading 1
  • ## Heading 2
  • > Quote
 

Can you try pulling version 3.0.3.

  • It works as supposed again after todays update. Thanks