question

01928-7325x2 avatar image
01928-7325x2 asked Jacob Abrams commented

Tagging All Items Using One API Call

I wanted to tag all items using one API call Following documentations here: https://docs.clover.com/build/web-app...

But Clover API responded with '{ message: '500 Internal Server Error' }' Here is a sample body request of my API call:

{"elements":[{"item":{"id":"R8CXCB3FC3JTA"},"tag":{"id":"Z3J1QVT8PHXTJ"}},{"item":{"id":"PHK9REQJZW4MA"},"tag":{"id":"Z3J1QVT8PHXTJ"}},{"item":{"id":"0WABKKDTX4ZB8"},"tag":{"id":"Z3J1QVT8PHXTJ"}},{"item":{"id":"F18055W1WPRQG"},"tag":{"id":"Z3J1QVT8PHXTJ"}},{"item":{"id":"S8FD2D3SP7AVG"},"tag":{"id":"Z3J1QVT8PHXTJ"}},{"item":{"id":"RDAWT15HH148R"},"tag":{"id":"Z3J1QVT8PHXTJ"}},{"item":{"id":"S9ZCYZ3VHQYQ2"},"tag":{"id":"Z3J1QVT8PHXTJ"}},{"item":{"id":"YHNX06Y8AZWW2"},"tag":{"id":"Z3J1QVT8PHXTJ"}},{"item":{"id":"8APJ13M5CPP2C"},"tag":{"id":"Z3J1QVT8PHXTJ"}},{"item":{"id":"2ECN7P67VZJ3P"},"tag":{"id":"Z3J1QVT8PHXTJ"}},{"item":{"id":"GH806ZG3QRA0C"},"tag":{"id":"Z3J1QVT8PHXTJ"}},{"item":{"id":"GCJ91AC21S6BR"},"tag":{"id":"Z3J1QVT8PHXTJ"}} ]}

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jacob Abrams avatar image Jacob Abrams ♦♦ commented ·

Looks like a server bug. While our engineers are investigating I would suggest you confirm all the supplied items and tags currently exist and that none of them already have an association.

0 Likes 0 ·
Jacob Abrams avatar image Jacob Abrams ♦♦ commented ·

The server bug may actually be fixed already. Please confirm.

0 Likes 0 ·

0 Answers

Welcome to the
Clover Developer Community