Closed gvd12 closed 6 years ago
Hi,
Updated prestasharp to the last version but I'm getting the same problem( 'tho it was not much older)
This is the XML from the request on RequestForAdd on the NOT working server: https://codebeautify.org/xmlvalidator/cbb48177
Aren't those <language id= out of place?
Any ideas?
Thanks.
looks like it was a server side problem. Still investigating it, but nothing related to code perse.
looks like it was a server side problem. Still investigating it, but nothing related to code perse.
hi, i'm having the same problem. how do you solve it?
hi, It was a weird issue with the URL we were using on our config. For some reason, we were sending the petitions as http:// and the server was responding with https:// which we were receiving as blank. Forcing the use on https on our app solved the issue.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi, I'm getting the following error when trying to create a new product or a new combination on the production server. it seems to be working just fine on the test server, so I guess it's something config related, but I can't figure what it is causing it.
Whenever it tries to create the product and reaches to ProductFactory.cs / public Entities.product Add(Entities.product Product) it returns a null value on return this.Get((long)aux.id); . The exception is System.InvalidOperationException: 'Nullable object must have a value.'
Any idea of what can be happening?
Thanks in advance.
Just some brief snippets of the code showing the path it is going.
objProduct = _PSTOOLS.AddProduct(objProduct);
private static ProductFactory myProductFactory;
myProductFactory = new ProductFactory(BaseUrl, Account, "");
Here is the full stack: