# Job ID does not match name in Nomad

**URL:** <https://discuss.hashicorp.com/t/job-id-does-not-match-name-in-nomad/33059>\
**Category:** Nomad\
**Created:** [December 11, 2021, 4:27am UTC](https://discuss.hashicorp.com/t/job-id-does-not-match-name-in-nomad/33059 "2021-12-11T04:27:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravi](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/ravi/32/15966_2.png) [@ravi](https://discuss.hashicorp.com/u/ravi)\
**Post date:** [December 11, 2021, 4:27am UTC](https://discuss.hashicorp.com/t/job-id-does-not-match-name-in-nomad/33059/1 "2021-12-11T04:27:34Z")

</div>

I’m submitting a job through JSON / API and I get this error response back. I search but there was nothing I could find. I check the Job ID and name and their the same.

`curl -XPUT -d @"prepros_1.json" http://127.0.0.1:4646/v1/job/example`  
Here’s the bash command

Here’s a snippet of the json

```auto
{
    "Job": {
        "Region": null,
        "Namespace": null,
        "ID": "prepros_1",
        "Name": "prepros_1",
        "Type": "batch",
        "Priority": null,
        "AllAtOnce": null,
        "Datacenters": [
            "dc1"
        ],
        "Constraints": null,
        "Affinities": null,

```

---

<div class="post-metadata">

**Author:** ![ravi](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/ravi/32/15966_2.png) [@ravi](https://discuss.hashicorp.com/u/ravi)\
**Post date:** [December 12, 2021, 6:24pm UTC](https://discuss.hashicorp.com/t/job-id-does-not-match-name-in-nomad/33059/2 "2021-12-12T18:24:12Z")

</div>

> [@ravi](#):
>
> `example`

Silly me. I was submitting to the wrong end point. I think the API JSON example in the tutorial has this URL:  
`http://127.0.0.1:4646/v1/job/example`  
I changed it to  
`http://127.0.0.1:4646/v1/job/`

and it worked
