# PRODUCTION QUERY URL not working

**URL:** <https://forum.thegraph.com/t/production-query-url-not-working/3869>\
**Category:** Subgraphs\
**Created:** [January 4, 2023, 7:30pm UTC](https://forum.thegraph.com/t/production-query-url-not-working/3869 "2023-01-04T19:30:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![virendra](https://avatars.discourse-cdn.com/v4/letter/v/e68b1a/32.png) [@virendra](https://forum.thegraph.com/u/virendra)\
**Post date:** [January 4, 2023, 7:30pm UTC](https://forum.thegraph.com/t/production-query-url-not-working/3869/1 "2023-01-04T19:30:29Z")

</div>

Accessing data using PRODUCTION QUERY URL is not working. Throwing error  
Created API key and used it PRODUCTION QUERY URL but getting below error.

```auto
 "errors": {
        "message": "DeploymentNotFound(\"QmZU8GYybvRMkco8ogEDVnAkWj8tb4abkTAamsnpHwsB67\")"
    }

```

While if I use DEVELOPMENT QUERY URL, its giving the result.

When run the query from the account where I have deployed the graph, I can run the query on “Playground” tab and it gives result as well.

Want to understand what is needed to run API works with PRODUCTION QUERY URL
