Authenticated request to Admin API returns authorize URL

I have installed a new app onto the shopify admin store. (I believe this app is considered private/custom)
My goal is to have the app set up to listen via webhooks for orders that are created in the store.

In order to test this app, I just made a simple authenticated request, but the response I’m getting is a oauthorize url. What am I doing wrong here?
GET https://<SHOP_NAME>.myshopify.com/admin/api/2023-10/orders.json
with headers: X-Shopify-Access-Token: <ACCESSS_TOKEN>

returns html response: with redirect link
```https://accounts.shopify.com/oauth/authorize?>>>>>>>>``

Hi there :waving_hand:

To help with this sort of troubleshooting it is helpful to share the exact details about your request, because the problem could be very small. Sharing the exact code you are using, or if you are using an API client like Postman or Insomnia.

When you created your app, and generated your access token this was done through the Shopify Admin or the Partner Dashboard?

When you created your app you selected the read_orders scope?

1 Like

Thank you, I realized It was Postman creating incorrect requests.