# Sandbox order and invoice creating not working

**URL:** <https://developer.squareup.com/forums/t/sandbox-order-and-invoice-creating-not-working/8327>\
**Category:** Questions\
**Tags:** orders-api, sandbox, invoices-api\
**Created:** [January 24, 2023, 2:40am UTC](https://developer.squareup.com/forums/t/sandbox-order-and-invoice-creating-not-working/8327 "2023-01-24T02:40:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhabed](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@dhabed](https://developer.squareup.com/forums/u/dhabed)\
**Post date:** [January 24, 2023, 2:40am UTC](https://developer.squareup.com/forums/t/sandbox-order-and-invoice-creating-not-working/8327/1 "2023-01-24T02:40:30Z")

</div>

Hi, I´m working on integration of SquareUp with a Web APP. Currently implementing services to allow creating invoices, days ago I was able to create new orders and invoices using both, API Explorer and SDK but now unable to create new ones for testing. I wanted to test a new customer I added which has real email.

Is there any issue on creating new orders and invoices at sandbox?

Regards,  
Danfer.

---

<div class="post-metadata">

**Author:** ![josh-square](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@josh-square](https://developer.squareup.com/forums/u/josh-square)\
**Post date:** [January 24, 2023, 8:22pm UTC](https://developer.squareup.com/forums/t/sandbox-order-and-invoice-creating-not-working/8327/2 "2023-01-24T20:22:37Z")

</div>

Hey @dhabed! 👋 I’m not aware of any ongoing issues with creating orders or invoices in Sandbox. Is this issue still persisting for you? If so, are there any error messages being returned in your API response?

---

<div class="post-metadata">

**Author:** ![dhabed](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@dhabed](https://developer.squareup.com/forums/u/dhabed)\
**Post date:** [January 25, 2023, 2:24am UTC](https://developer.squareup.com/forums/t/sandbox-order-and-invoice-creating-not-working/8327/3 "2023-01-25T02:24:38Z")

</div>

Hi, well, trying to add new Order now, from SDK, no error but getting already existing orders. E.g., I was trying to add a new order minutes ago and getting back already existing order, with Id **WikEuT76ftVbQAZTeMXfaxBgMc4F** which I actually added on Jan. 20th :

Best regards,  
Danfer.

---

<div class="post-metadata">

**Author:** ![dhabed](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@dhabed](https://developer.squareup.com/forums/u/dhabed)\
**Post date:** [January 25, 2023, 3:57am UTC](https://developer.squareup.com/forums/t/sandbox-order-and-invoice-creating-not-working/8327/4 "2023-01-25T03:57:09Z")

</div>

Hi, problem fixed, was generating wrong idempotency Guid, regards, Danfer.
