Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

createLargePersonGroup error with 1.4.0 #48

@abbana

Description

@abbana

Hi,

I am using CocoaPod 1.4.0 , coding in Swift and have no issues with :

  • Identify
  • Verify
  • Create Large Person Group
  • Create Person

I am having issues when trying to add an image to the person.

Code:

self.faceClient.addPersonFace(withLargePersonGroupId: self.faceLargePersonGroup, personId: self.facePersonID, data: imageData, userData: "Image created on:", faceRectangle: nil, completionBlock: { (mMPOAddPersistedFaceResult, error) in

if (error != nil) {
    print("Error in addPersonFace error is : \(String(describing: error))")
}
else {

Error:

43EF-BA8A-08EA75F0E115>.<1> finished with error - code: -1002
Error in addPersonFace error is : Optional(Error Domain=POFaceServiceClient error - http response is not success :  Code=0 "(null)")

Endpoint I am using works flawlessy with the other methods. Large Group ID exsist , PersonID exsist , Data is correct (I have the same error if I use url instead)

I need some guidance to identify the error , the error log is not helping , and solve the issue.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions