Shab Souri Posted January 11, 2021 Share Posted January 11, 2021 Hi I received this error code: =================== unexpected response: #<HTTP::Message::Headers:0x00007ffbedfa6158 @http_version="1.1", @body_size=0, @chunked=false, @request_method="GET", @request_uri=#<Addressable::URI:0x3ffdf6fd9fc4 URI:https://www.bestforever.dk/api/orders>, @request_query={"filter[date_upd]"=>"[2020-12-09 23:22:57,2021-01-09 07:25:14]", "display"=>"full", "start_index"=>0, "limit_import"=>100, "date"=>1, "sort"=>"date_upd_ASC", "limit"=>"0,100"}, @request_absolute_uri=nil, @status_code=500, @reason_phrase="Internal Server Error", @body_type=nil, @body_charset=nil, @body_date=nil, @body_encoding=#<Encoding:UTF-8>, @is_request=false, @header_item=[["Date", "Sat, 09 Jan 2021 02:25:14 GMT"], ["Server", "Apache"], ["Access-Time", "1610159115"], ["X-Powered-By", "PrestaShop Webservice"], ["PSWS-Version", "1.7.7.0"], ["Execution-Time", "0.018"], ["Vary", "Authorization"], ["Connection", "close"], ["Transfer-Encoding", "chunked"], ["Content-Type", "text/xml;charset=utf-8"]], @dumped=false> =================== I hope, their is someone can help me to fix it Link to comment Share on other sites More sharing options...
Prestachamps Posted January 11, 2021 Share Posted January 11, 2021 Hi, try to add this parameter also to your webservice api request: &date=1 Kind regards, Leo Link to comment Share on other sites More sharing options...
Shab Souri Posted January 11, 2021 Author Share Posted January 11, 2021 6 hours ago, Leo @ Prestachamps said: Hi, try to add this parameter also to your webservice api request: &date=1 Kind regards, Leo Hi Leo It's same problem, even I added or changed my API webservice. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now