The client provides the UUID's. Clients can't be trusted. Make sure the UUID's received in API/endpoint requests are actually UUID's.