Error "The website could not be accessed." when writing a comment into an Ecom Order

Hey Agility,

I'm trying to write a comment in an order timeline, but it's throwing an error "The website could not be accessed."

I reviewed the Website Name and Security Key, which are matching with the ones under global security in the CMS.

Here's my code:


 public int InsertOrderComment(int orderID, string comment)
//in order for the order to be calculated we need to have this order status set to Draft

using (var client = CreateHttpClient())
var postObj = new
orderID = orderID,
comment = comment

var response = client.SyncPostJson("/json/OrderCommentService/Insert", postObj);

string str = response.Content.ReadAsStringAsync().Result;
JsonResponse<int> res = JsonConvert.DeserializeObject<JsonResponse<int>>(str);

return res.ResponseData;




  • Official comment

    Hey Erik,

    Some good news - I have confirmation that the product team is working on this today and a patch deployment will be released for Ecommerce as soon as tomorrow.

    We'll notify you here once the fix has been released.

    Comment actions Permalink
  • Hi Erik,

    Unfortunately we've identified that his is a bug in the Agility Ecommerce Service API. I'm going to push to have this resolved in our November (last Tuesday of the month). 

    Once i've confirmed this is scheduled for a release I will share another update here.

    Comment actions Permalink
  • Hi Everyone, 


    This fix has been released! 

    Comment actions Permalink
  • Hey guys,

    I just tested it and looked all good.

    Thank you the quick fix.

    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post