Skip to content

PHP Example throwing 401 Error #30

@arumals

Description

@arumals

I was able to make the examples run in Node and Go (after fixing some issues in the code), but not the PHP.

I keep getting this error.

Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://api.sumsub.com/resources/applicants?levelName=basic-kyc-level` resulted in a `401 Unauthorized` response:
{
  "code" : 401,
  "correlationId" : "dcd65973ceb873bd53df030975fc557b",
  "errorCode" : 4000,
  "errorName" : "app-tok (truncated...)
 in /Users/arturomaltos/Projects/POCs/sumsub/Php/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions