I’m having some problems using the test suite inside admin to test my (underdevelopment) payment-provider
Here goes the logs:
2022-07-08 20:56:35 UTC
GET https://paymentprovider--avantivtexio.myvtex.com/_v/avantivtexio.payment-provider/v0/payment-methods
RESPONSE (500 InternalServerError)
{
"response": {
"data": {
"code": "Forbidden",
"message": "Role app:vtex.payment-gateway@1.4.0 in avantivtexio/paymentprovider cannot perform action GET on resource vrn:apps:aws-us-east-1:avantivtexio:master:/registry/avantivtexio.payment-provider/0.0.0",
"source": "Vtex.Kube.Router",
"requestId": "b7a0ce96619c43ce95b07cd11492e1cd"
},
"headers": {
"content-type": "application/json; charset=utf-8",
"date": "Fri, 08 Jul 2022 20:56:34 GMT",
"server": "VTEX IO",
"cache-control": "no-cache, no-store",
"pragma": "no-cache, no-store",
"transfer-encoding": "chunked",
"x-request-id": "b7a0ce96619c43ce95b07cd11492e1cd",
"x-vtex-router-elapsed-time": "00:00:00.0048035",
"x-vtex-io-cluster-id": "devs-b"
},
"status": 403
},
"isAxiosError": true,
"errorReportMetadata": {
"errorId": "fee19a170476656f18c1a0dd356707c4",
"reportCount": 0
},
"name": "Error",
"message": "Request failed with status code 403",
"code": "E_HTTP_403"
}
2022-07-08 20:56:35 UTC
GET https://paymentprovider--avantivtexio.myvtex.com/_v/avantivtexio.payment-provider/v0/payment-methods
REQUEST
{}