FROM CACHE - en_header

Url encoding and result to 404

MajoMFR
Tourist
11 0 0

I am trying to get product s with limit but it converts the url from

'/admin/api/2021-07/products.json?limit=250' 

to
'/admin/api/2021-07/products.json%3Flimit=250'

I checked it in the response that i got in return 


array:7 [  "errors" => true
  "response" => GuzzleHttp\Psr7\Response {#1637 }
  "status" => 404
  "body" => "Not Found"
  "link" => null
  "exception" => GuzzleHttp\Exception\ClientException {#1635 
    -request: GuzzleHttp\Psr7\Request {#1644 }
    -response: GuzzleHttp\Psr7\Response {#1637 }
    -handlerContext: []
    #message: """
      Client error: `GET https://myshoop.myshopify.com/admin/api/2021-07/products.json/%3Fpage_info=eyJsYXN0X2lkIjo0MzgwNjE5OTk3MzIyLCJsYXN0X3ZhbHVlIjoiRHJvcC1
      {"errors":"Not Found"}\n
      """
    #code: 404
    #file: "/home/yooshaysol/public_html/bylt2fit/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"
    #line: 113
    trace: {}
  }
  "timestamps" => []

 

How should i stop to convert?

Replies 0 (0)