# error "No route found for \\"GET /api/orders\\"" for the Postman request with HTTP Basic auth

**URL:** <https://forum.shopware.com/t/error-no-route-found-for-get-api-orders-for-the-postman-request-with-http-basic-auth/61765>\
**Category:** Shopware Playground - API first Sandbox (EN)\
**Created:** [13. September 2019 um 15:56 UTC](https://forum.shopware.com/t/error-no-route-found-for-get-api-orders-for-the-postman-request-with-http-basic-auth/61765 "2019-09-13T15:56:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vladyslav2019](https://avatars.discourse-cdn.com/v4/letter/v/ac91a4/32.png) [@vladyslav2019](https://forum.shopware.com/u/vladyslav2019)\
**Post date:** [13. September 2019 um 15:56 UTC](https://forum.shopware.com/t/error-no-route-found-for-get-api-orders-for-the-postman-request-with-http-basic-auth/61765/1 "2019-09-13T15:56:28Z")

</div>

The request is done to the api order endpoint&nbsp;/api/orders of just deployed Shopware 6 test shop site to the dev environment.

Postman is used. HTTP Basic authorization is used by request Authorization header with the value „Basic YXBpdXN…“,

where&nbsp;YXBpdXN… is the base64 encoded value of&nbsp;“username:access-key-ID”.

access-key-ID is the Access key ID value, generated at the admin panel for the username user. Read and write permissions were given for the access key. Also that user was logged out / logged in.

The response of the request is:

{  
&nbsp; &nbsp; „errors“: [  
&nbsp; &nbsp; &nbsp; &nbsp; {  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; „code“: „0“,  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; „status“: „404“,  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; „title“: „Not Found“,  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; „detail“: „No route found for „GET /api/orders““  
&nbsp; &nbsp; &nbsp; &nbsp; }  
&nbsp; &nbsp; ]  
}  
Also the same No route found error is for any other api resource: articles,&nbsp;categories, etc, also for just the api endpoint.

Sending get request for just the domainname url responds with the correct html page.

Could you please help why the api resource routes are&nbsp;not found ?

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [13. September 2019 um 18:24 UTC](https://forum.shopware.com/t/error-no-route-found-for-get-api-orders-for-the-postman-request-with-http-basic-auth/61765/2 "2019-09-13T18:24:56Z")

</div>

[https://docs.shopware.com/en/shopware-platform-dev-en/api#schema-overview](https://docs.shopware.com/en/shopware-platform-dev-en/api#schema-overview)

The version is missing in your url

---

<div class="post-metadata">

**Author:** ![vladyslav2019](https://avatars.discourse-cdn.com/v4/letter/v/ac91a4/32.png) [@vladyslav2019](https://forum.shopware.com/u/vladyslav2019)\
**Post date:** [16. September 2019 um 14:15 UTC](https://forum.shopware.com/t/error-no-route-found-for-get-api-orders-for-the-postman-request-with-http-basic-auth/61765/3 "2019-09-16T14:15:39Z")

</div>

@[Morit@z Naczenski](https://forum.shopware.com/profile/14574/Moritz%20Naczenski)@ thanks a lot, now the route is found.

But there is not authorized error now.  
{  
&nbsp; &nbsp; “errors”: [  
&nbsp; &nbsp; &nbsp; &nbsp; {  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; “code”: “9”,  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; “status”: “401”,  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; “title”: “The resource owner or authorization server denied the request.”,  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; “detail”: “The JWT string must have two dots”  
&nbsp; &nbsp; &nbsp; &nbsp; }  
&nbsp; &nbsp; ]  
}  
The token is correct totally. The Authorization header has the value&nbsp;“Basic YXBpdXN…” as described above.

Could you please answer why this error occurs?

I researched, found some issue but it seems to be a bit another one combined with Basic and Bearer Auth headers&nbsp;[https://github.com/shopware/platform/issues/106](https://github.com/shopware/platform/issues/106)&nbsp;and there the shopware ticket was created&nbsp;[https://issues.shopware.com/issues/NEXT-4243](https://issues.shopware.com/issues/NEXT-4243)

---

<div class="post-metadata">

**Author:** ![derkurier2021](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@derkurier2021](https://forum.shopware.com/u/derkurier2021)\
**Post date:** [17. Februar 2021 um 21:18 UTC](https://forum.shopware.com/t/error-no-route-found-for-get-api-orders-for-the-postman-request-with-http-basic-auth/61765/4 "2021-02-17T21:18:55Z")

</div>

If I try a request with GET [https://myserver/api/v3/search/order](https://myserver/api/v3/search/order) I only get status “404” with “Nor route found for “GET /api/v3/search/orders””,

My goal is to get a list of all orders via the REST-API-Call. The docu isn’t right readable for me. All the example gives me “No route…” back

getting the access token via request is simple right working with my PHP snippet and with postman, too. Any tips or ideas whats wrong and how to solve. Example request with json data is welcome. Thanks.

&nbsp;

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [18. Februar 2021 um 06:25 UTC](https://forum.shopware.com/t/error-no-route-found-for-get-api-orders-for-the-postman-request-with-http-basic-auth/61765/5 "2021-02-18T06:25:17Z")

</div>

Just have a look at the request the admin sends to the server, the admin is using the api as well.

---

<div class="post-metadata">

**Author:** ![derkurier2021](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@derkurier2021](https://forum.shopware.com/u/derkurier2021)\
**Post date:** [18. Februar 2021 um 21:24 UTC](https://forum.shopware.com/t/error-no-route-found-for-get-api-orders-for-the-postman-request-with-http-basic-auth/61765/6 "2021-02-18T21:24:38Z")

</div>

Hi Moritz. We solve the problem with the hoster maxcluster. There is a problem with the shopware 6 entwickler version. If you install it by docu you went into problems with REST calls after finsihing. It works only with the last stable version 6.3.5.1. With that version I am near at my goal to get all order data with calling the REST-API (:-))) Thanks for your help.
