Permission Error Loading Lense

Options
vince
vince Posts: 2

I am getting the following error when applying a lens to my camera kit session..

Uncaught (in promise) Error: Cannot load lens lens e7903ad2-d81e-4248-9321-13e66e974545 from group a3ee83a5-f365-4751-83d3-5be91078eb07. An error occured in the gRPC client:
[7] permission denied
loadLens cameraKitLensSource.ts:30
fulfilled tslib.es6.mjs:118

Code:

const lens = await cameraKit.lensRepository.loadLens(
'e7903ad2-d81e-4248-9321-13e66e974545',
'a3ee83a5-f365-4751-83d3-5be91078eb07'
);

Any help would be appreciated.

Tagged:

Answers

  • stevenxu
    stevenxu Posts: 611 👻
    Options

    @vince thanks for posting on the forum.

    Could you confirm if you have access to Camera Kit? Did you get an onboarding email? Are you building for Web or Mobile sdk?

    Steven

  • vince
    vince Posts: 2
    Options

    It started working yesterday! I did sign up for the camera kit previously.

  • stevenxu
    stevenxu Posts: 611 👻
    Options

    @vince Yay glad it works! Did you do something different to fix it?

  • SUMEET SOURAV DAS
    Options

    Hi @vince I am also facing the same issue.. can you please tell me if you had to do anything to fix it?