AnsweredAssumed Answered

The signature does not match (PHP)

Question asked by Nick Le Mouton Champion on Feb 8, 2016
Latest reply on Aug 15, 2016 by Daniel Vieira

I'm having trouble using the example code on the {open} github using php. I setup API access to diagnostic tools in Luna and run the ./gen_edgerc.php script to populate the .edgerc file from the client information file. When I run ./diagnostic_tools.php --verbose --debug it spits out:


    "type": "https:\/\/\/-\/pep-authn\/deny",
    "title": "Not authorized",
    "status": 401,
    "detail": "The signature does not match",
    "instance": "https:\/\/***************\/diagnostic-tools\/v1\/locations",
    "method": "GET",
    "serverIp": "",
    "clientIp": "xx.***.***.***",
    "requestId": "781e522",
    "requestTime": "2016-02-09T02:28:14Z"
===> [ERROR] Call to /diagnostic-tools/v1/locations failed with a 401 Unauthorized result


Can anyone help work out why I can't run this?