PHPShopify\Exception\ApiException: signature - has already been taken

Solved
Tourist
8 0 0

I am using this for my Laravel project, https://github.com/phpclassic/php-shopify

Has anyone came across this issue:

 

PHPShopify\Exception\ApiException: signature - has already been taken

 

 

(new Shopify())->Customer($data['customer_id'])->Address($shopify_address_id)->put($forUpdate);

 

This is the value of my $dataForUpdate 

{
    "address1": "Urthaleramt 7",
    "first_name": "John",
    "last_name": "Doe",
    "zip": "3684",
    "city": "St.Oswald"
  }

 And this is the response:

{
  "errors": {
    "signature": [
      "has already been taken"
    ]
  }
}

Can   someone help me clarify what does the error mean?

 

Thank you

 

0 Likes

Success.

Shopify Staff
Shopify Staff
373 50 57

Hey @rexb,

 

I believe each address needs to be unique - try removing similar addresses and try again.

 

Let me know if you're still stuck.

1 Like
Tourist
8 0 0

Thanks Scot.

0 Likes